Hi @Amjad_Sahi : I am unable to upload the excel file since it is restricting me to upload (png,jpeg,pdf files).
Here is the stack trace of the exception. Can you please help me in uploading the excel file?
com.aspose.cells.CellsException: Invalid workbook setting in the xlsb workbook.
at com.aspose.cells.zcht.d(Unknown Source)
at com.aspose.cells.zcht.a(Unknown Source)
at com.aspose.cells.zcgk.e(Unknown Source)
at com.aspose.cells.zcgk.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)
Pleaser try our latest version/fix: Aspose.Cells for Java v17.8:
I have tested your scenario/case with it using the following sample code with your template XLSB file and it works fine. The output XLSX file is also fine tuned:
e.g Sample code:
Workbook workbook = new Workbook("f:\\files\\Excel_MS_1707.xlsb");
workbook.save("f:\\files\\out1Excel_MS_1707.xlsx", SaveFormat.XLSX);
Well, Aspose.Cells does not use or depend upon MS Office or its automation APIs. How it can be related to MS Office 365 update, please elaborate it. I could not reproduce the issue in a simple JAVA program on our end as it works fine (read your template file and save it as, etc.). We need to reproduce the issue on our end, so we could figure it out.
@Amjad_Sahi : Thanks for the info, we will be testing the latest jar and would provide an update.
Mean while can you please send me the Maven dependency for this version?