We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Workbook.SaveOptions.SaveFormat not working with Aspose.Cells dll version

Hi ,

Thanks in advance for the help.

I am using Aspose.Cells dll reference in one of my Projects , earlier it was working fine for me with version ( but as the dll version got updated above mentioned code started throwing error , I have attached error message below. Please help me out in fixing this issue.



Thanks for providing us some details.

Yes, in the newer versions this is a read-only property. Please change your sample code as following:
Sample code:

OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.Xlsx);
workbook.Save(“e:\test2\out1.xlsx”, saveOptions);

Let us know if you still have any issue.

Thank you.