简体   繁体   English

Excel发现不可读的内容

[英]Excel found unreadable content in

When I open an excel file (generated through VBA code), I get an error 当我打开一个excel文件(通过VBA代码生成)时,我收到一个错误

"Excel found unreadable content in <filename>. Do you want to recover the contents?"

Upon clicking yes, I get a message 单击是后,我收到一条消息

'Repairs were made to PivotTable report 'pvtName' on '[filename.xls]Tab'.'

The pivot table in question is generated by the VBA code. 有问题的数据透视表由VBA代码生成。 Is there a way to figure out what repairs are being done on the pivot table, so that I can make the necessary changes in the code before the file is generated? 有没有办法弄清楚在数据透视表上正在进行哪些修复,以便我可以在生成文件之前对代码进行必要的更改?

Thanks :) 谢谢 :)

This issue was resolved by making sure the file extension was .xlsm and the FileFormat 52 (Macro Enabled Workbook). 通过确保文件扩展名为.xlsm和FileFormat 52(启用宏的工作簿)来解决此问题。

However, users with Excel 2003 won't be able to view the pivot table properly. 但是,使用Excel 2003的用户将无法正确查看数据透视表。

If someone has a better workaround, please let me know. 如果有人有更好的解决方法,请告诉我。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Excel在[工作簿名称] VBA错误消息中发现了不可读的内容 - Excel found unreadable content in [workbook name] VBA error message 在使用for循环合并单元格时,出现错误“ Excel在&#39;file.xslx&#39;中发现了不可读的内容”? - while merging cells using for loop, i got an error “Excel found unreadable content in 'file.xslx' ”? ms excel 2007 xlsb文件下载不可读内容错误 - xlsb file download unreadable content error with ms excel 2007 Excel VBA - 重命名命名范围会导致无法读取的内容错误? - Excel VBA - Renaming named ranges causes unreadable content error? Access Vba-格式条件未保存在Excel文件中(不可读的内容) - Access Vba - format condition not saved in Excel file (unreadable content) 文件夹选择对话框(VBA,Excel 2010)导致文件不可读 - Folder Selection Dialog Box (VBA, Excel 2010) causing files to be unreadable Excel保存文件,但在打开文件时引发错误:“我们在…中发现了一些内容的问题” - Excel saves file, but throws error on opening it: “We found a prob-lem with some content in …” 在vba中,可以安全删除与正在运行的宏关联的按钮和工作表吗? (内存不足,无法读取的内容错误) - in vba, can I safely delete buttons and sheets that are associated with the macro that is running? (out of memory, unreadable content errors) 自动下拉列表会在下次打开文件时导致无法读取的内容 - Automatic drop-down list causes unreadable content at next opening of the file Excel vba中的“No Cells Found Error” - “No Cells Found Error” in Excel vba
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM