[英]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.