相关疑难解决方法(0)

xlsx错误:"删除记录:来自/xl/workbook.xml部分的命名范围",当试图解决错误时

我有一个使用SSIS生成的xlsx文件.此文件的数据是通过数据流任务写入的,其中xlsx文件是oledb目标.我使用以下连接字符串作为OLEDB连接的表达式:

"Provider=Microsoft.ACE.OLEDB.12.0;Data Source="+ @[User::ExcelPath] +";
Extended Properties=\"Excel 12.0 Xml;HDR=YES\";"
Run Code Online (Sandbox Code Playgroud)

该文件在数据流任务之前就打开了.在数据流任务之后,我得到如下对话框:

在此输入图像描述

当我单击是时,我收到另一条消息: 在此输入图像描述

xml文件的内容是

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">       <logFileName>error072840_02.xml</logFileName><summary>Errors were detected in file   'C:\output\documentId-1.xlsx'</summary><removedRecords summary="Following is a list of removed records:"><removedRecord>Removed Records: Named range from /xl/workbook.xml part (Workbook)</removedRecord></removedRecords></recoveryLog>
Run Code Online (Sandbox Code Playgroud)

我无法弄清楚究竟是什么导致了这个错误.任何帮助将不胜感激.TIA

xml excel ssis xlsx

11
推荐指数
2
解决办法
3万
查看次数

Excel继续加载我的电子表格时出错

加载电子表格时,我不断收到此错误消息.它让我修复它,它剥离了所有的验证器.该文件保存为xlsm.

"Excel在''您是否想要恢复此工作簿的内容时发现不可读的内容.如果您信任此工作簿的来源,请单击是"

您必须单击是或它将不会加载.然后我得到这个错误."Excel能够通过删除或修复不可读的内容来打开文件.删除功能:来自/xl/worksheets/sheet1.xml部分的数据验证"

我对此没有任何线索,这真的很烦人.如果有人有任何建议,我将非常感激.谢谢,詹姆斯

excel vba

8
推荐指数
2
解决办法
2万
查看次数

Excel corruption with VBA sorting records

I have an Excel file with a macro that filters records. After running the macro I save and close the file. Once I open the file again it says that the file has been corrupted:

Excel found unreadable content in '[filename].xls'.
Do you want to recover the contents of this workbook?
If you trust the source of this workbook, click Yes.

Once I click Yes the file opens and looking at the XML file that directs me to I find …

excel vba

1
推荐指数
1
解决办法
4240
查看次数

标签 统计

excel ×3

vba ×2

ssis ×1

xlsx ×1

xml ×1