I get the error “This file’s format is not supported or you don’t specify a correct format” when opening the attached excel file.
Can you tel me how I can open this type of file (I need to convert it to PDF) and how to detect that this file is different to other files, so that I can keep my code generic for all Excel files?
Thanks for providing us template file and sample code.
I have evaluated your issue using your template file. Well, I noticed your provided spreadsheet has an unsupported format. Please note, Aspose.Cells APIs supports BIFF8 or greater formats (Excel 97 - Excel 2010/2013, Excel 2016) however, the provided sample is of type “Microsoft Excel 5.0/95 Workbook”. Unfortunately, there isn’t a dynamic way to tackle this situation unless you manually change the format of the spreadsheet while using Excel (e.g 2003/2007-2013) application and load the re-saved spreadsheet with Aspose.Cells APIs.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.