Microsoft Office Excel无法打开或保存更多文档
问题描述:
当我在Windows XP,32位机器上工作时,
我使用Microsoft.Office.Interop.Excel导出到excel工作。
当我工作时没有在Windows 7,64位机器上,我收到以下错误:
when I was working on windows XP ,32bit machine ,
my export to excel using Microsoft.Office.Interop.Excel was working.
No when I am working on windows 7 ,64 bit machine,I am getting the following Error:
System.Runtime.InteropServices.COMException (0x800A03EC): Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space.
• To make more memory available, close workbooks or programs you no longer need.
• To free disk space, delete files you no longer need from the disk you are saving to.
(执行以下语句时出现此错误:
(This error comes when executing the following statement:
Workbook excelWorkbook = excelApp.Workbooks.Add(Type.Missing);
)
请帮我解决这个问题。
Please help me to fix this issue.
答
打开或添加带有CorruptLoad的工作簿
Open or add the Workbook with CorruptLoad
https://msdn.microsoft.com/en-us/library/office/ff194819.aspx [ ^ ]