Hi,
I am converting the attached two XLS files into XLSM format, Then if i try to open the output XLSM files, They are not opening.
If I try opening the XLSM files from MS Excel 2019 - Standard Edition, they are not opening and no error message is showing.
If I try opening the XLSM files from MS Excel 2019 - Professional plus Edition, am error popup with message “The file couldn’t open in protected view” is displaying.
TemplateFiles-XLS-XLSM-Converted-File-Not-Opening.zip (137.1 KB)
@vedavyas.velaga,
Thanks for the template files
Please notice, I am able to reproduce the issue as you mentioned by converting your template files to XLSM file format. I found the output XLSM file is corrupted and MS Excel could not open the output XLSM files into it for most cases:
e.g.
Sample code:
Aspose.Cells.Workbook workbook = new Aspose.Cells.Workbook("e:\\test2\\TemplateFile-1-XLS-XLSM-Converted-File-Not-Opening.xls");
//Aspose.Cells.Workbook workbook = new Aspose.Cells.Workbook("e:\\test2\\WSChangesWithRiskChecks-10-2.xls");
workbook.Save("e:\\test2\\out1.xlsm", Aspose.Cells.SaveFormat.Xlsm);;
I have logged a ticket with an id “CELLSNET-51899” for your issue. We will look into it soon.
Once we have an update on it, we will let you know.
@vedavyas.velaga,
This is to inform you that your issue has been resolved now. The fix will be included in our upcoming release (Aspose.Cells v22.9) scheduled before the end of this week. You will also be notified when the next version is released.
The issues you have found earlier (filed as CELLSNET-51899) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi