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

Free Support Forum - aspose.com

This is not a structured storage file

Hello,


I am trying to load an xls document (Excel 97 - 2003) using the following java code snippet:

{code}
com.aspose.cells.LoadOptions loadOptions = new com.aspose.cells.LoadOptions(FileFormatType.EXCEL_97_TO_2003);
com.aspose.cells.Workbook excelDocument = new com.aspose.cells.Workbook(excelPath, loadOptions);
excelDocument.save(pdfPath, com.aspose.cells.SaveFormat.PDF);
{code}

The code is pretty simple, however I got this exception: “This is not a structured storage file.”. Do anybody have any ideas? For your information, I’m using Aspose Cells 8.5.1. I also attached my xls file.

Thank you so much.

Best Regards,
Mark

Hi Mark,


Thank you for sharing the sample spreadsheet.

Please try the case against the latest release of Aspose.Cells for Java 8.7.1 as I am able to load and convert your spreadsheet without any issue.