Hi,
I am using Aspose.Cells version 7.7.2.0 dll version to generate reports in my application. I am currently generating the files in XLSX format but now my requirement is to generate the reports in XLSB format. So i changed my filename to abc.xlsb and I am saving the workbook object like this:-
myWorkbook.Save(tempFilePath, SaveFormat.Xlsb);
When I am trying to open the report I am getting the attached error in excel 2013. Can you please help me with this?
I am not sure why it is not showing the attachment but here is the error message:-
"We found a problem in some content in abc.xlsb. Do you want us to try to recover as much as we can?"
Thanks,
Rahul
Hi Amjad,
Thanks for the quick response. I have updated the error message. Also, I will try it out with latest dll version. Can you tell me is there anything I need to do extra for xlsb format? My report has lots of formatting.
Hi,
Thanks for the sharing the error message.
Well, your line of code is fine and you do not need to do extra to resave the workbook to XLSB file format. Please do as directed in my previous reply:
Thank you.