Saving to Excel97To2003 cause error when opening .xls file

This did fix my issue. I just want to point out to anyone reviewing this thread that the following lines of code still cause the error:

OoxmlSaveOptions saveOptions = new OoxmlSaveOptions();

saveOptions.ExportCellName =
true;

wb.Save(
@".\ApsoseTest.7.2.1.1.xlsx", saveOptions);

change to:

wb.Save(@".\AsposeTest.7.2.1.1.xlsx");

Thank you for your help,

Duel

Hi,

It’s strange, it caused you error.

I have run your code and found that no error occurred using the following code on the latest version:

Aspose.Cells for .NET 7.2.1


It will create a file in the current working directory, you can find the current directory using the following property i.e System.Environment.CurrentDirectory .

C#


Workbook wb = new Workbook();


OoxmlSaveOptions saveOptions = new OoxmlSaveOptions();


saveOptions.ExportCellName = true;


wb.Save(@“.\ApsoseTest.7.2.1.1.xlsx”, saveOptions);


The issues you have found earlier (filed as CELLSNET-40640) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.