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

Free Support Forum - aspose.com

When translating XLS to XLSX it produces a broken XLSX file

When I convert this XLS to XLSX, Aspose produce a broken XLSX that I cannot open in Excel.
The original XLS file opens successfully in Excel.

Using - aspose-cells-20.4.jar

The code that I am using is:
com.aspose.cells.LoadOptions loadOptions = new com.aspose.cells.LoadOptions(com.aspose.cells.FileFormatType.EXCEL_97_TO_2003);
com.aspose.cells.Workbook workbook = new com.aspose.cells.Workbook(inputPath, loadOptions);
workbook.save(outputPath, com.aspose.cells.FileFormatType.XLSX);

The original XLS file and broken XLSX file are attached.
BrokenXLSX.zip (36.9 KB)

@simon.wiseman,
This issue is observed here and logged for further investigation as:

CELLSJAVA-43214 - When translating XLS to XLSX it produces a broken XLSX file

@simon.wiseman,

This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@simon.wiseman,

Please try our latest version/fix: Aspose.Cells for Java v20.6.4:
aspose-cells-20.6.4-java.zip (7.1 MB)

Your issue should be fixed in it.

Let us know your feedback.

Thank you, using the latest version of cells has fixed the issue.

@simon.wiseman,

Good to know that your issue is sorted out by the new fix/version. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

The issues you have found earlier (filed as CELLSJAVA-43214) have been fixed in Aspose.Cells for Java 20.7. This message was posted using Bugs notification tool by Amjad_Sahi

Great, thank you.

@simon.wiseman,
You are welcome.