Dear Aspose Team,
We obtained an error report for our product, and it turned out that the error comes from saving a specific excel file with Aspose.Cells. We have license for the 19.xx version of Aspose, but we tried with the latest Version(=20.4.0.0) too and we obtained the same result. We tried to minimize the excel data as much as possible to help You locate/fix the problem. In the following attachment (link: ImpExpData.zip (35.4 KB)
) there are 3 files:
- the “testExcelFile.xls” file is the file what we try to save
- the “SavedFile1.xlsx” file is just an .xlsx file saved from the previous one
- the “finalResult.xls” file is the resulted oucome (the result should look like the first “testExcelFile.xls” one)
What we do with Aspose.Cells is: if the file is .xls we need to save it as .xlsx, “we do our stuff” and after that we need to save the file back with the original format in this case .xls. We paste a minimal code below, which results the mentioned problem:
Workbook wb = new Workbook(pathToTestExcelFile);
wb.Save(pathToSaveFileName1File, SaveFormat.Xlsx);
Workbook wb1 = new Workbook(pathToSaveFileName1File);
wb1.Save(pathToFinalResultFile, SaveFormat.Excel97To2003);
We are waiting for Your findings/answer.
With best regards,
Bordi Tamas
[BUG-3297]