XML 到 Excel 错误
我一直在将各种 XML 文件导入到 Excel 中,效果很好,但是一旦我保存并关闭电子表格并再次重新打开它以导入其他 XML 文件,就会发生错误。错误如下。
'由于 XML 映射已损坏,操作无法完成。到 解决此问题,从工作簿中删除关联的 XML 映射并 然后将 XML 映射添加回工作簿。'
当我尝试通过单击功能区 XML 类别中的“源”按钮来删除它时,错误再次出现。
有人有什么建议吗?
I've been importing various XML files to excel, which it does fine, but once i save and close the spread sheet and re-open it again to import other XML files an error occurs. The error is below.
'The operation cannot be completed because the XML map is corrupt. To
fix this problem, remove the associated XML map from the workbook and
then add the XML map back to the workbook.'
When i try to remove it by clicking on the 'Source' button in the XML category on the ribbon the error appears again.
Anyone have any suggestions??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
删除地图的一种方法是在 VB 页面的“立即”窗口(开发人员宏编辑)中,
输入以下命令:
然后,我发现需要导入一个没有“包含”的架构,这意味着将 XSD 文件展平为一个大 XSD 文件。
希望微软能解决这个问题,因为这很痛苦!
One way to delete the map is in "Immediate" window of VB Page (Developer Macros Edit),
enter the following command:
Then, what I've found is one needs to import a schema with no "includes", which means flattening out the XSD files into one big XSD file.
Hope microsoft fixes this, because it's a pain!