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

Free Support Forum - aspose.com

Can not load Excel files (460)


When I try to load the attached excel files, this exception occurs:

com.aspose.cells.CellsException: This file's format is not supported or you don't specify a correct format.

Here's the code I use:

Workbook workbook = new Workbook("aral.xls");

I've tried this with Aspose.Cells for Java 16.11.0.

Can you check this?



Thanks for the template files and details.

I have evaluated your issue using your template files. Well, I noticed your provided spreadsheets have an unsupported file format. Please note, Aspose.Cells APIs supports BIFF8 or greater formats (Excel 97 - Excel 2010/2013, Excel 2016). However, the provided sample files are 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 spreadsheets while using MS Excel (e.g 2003/2007-2013) application and load the re-saved spreadsheets with Aspose.Cells APIs.

Thank you.