Dear Aspose team,
We have an xlsb file that we try to save as xlsm, but it gets corrupted.
We use the following code and save options:
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.Xlsm);
saveOptions.ExportCellName = true;
Workbook doc = new Workbook(inputFilePath);
doc.Save(outputFilePath, saveOptions);
After that opening the xlsm file in Excel, it needs a repair.
Also if we try to open that workbook in code, we get the following exception:
“Aspose.Cells.CellsException: 'Error in Cell: C1-Invalid formula:”“Just “TODAY()&(,‘Project Info’!B17&” day(s) left!”)".’"
I am attaching the sample file. test.zip (37.2 KB)
Please let us know if we can provide any more details to help you fix the issue.
Best regards,
Daniel Lengyel
32382