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

Free Support Forum - aspose.com

Links in Named Ranges are getting deleted

Could you please check the attached file, which is having two named ranges which are referring to external links (we can see it by opening the file using Excel application), but when we are loading the file to Aspose Cells or converting to xlsm extension these links are getting deleted and the Named Ranges are referring to the cells in the same wb.

Template-NR-LInks-Deleted.zip (8.7 KB)


Thanks for the template file.

Please notice, I am able to reproduce the issue as you mentioned by converting your template file to XLSM file format. I found links to external source(s) in the named ranges are deleted in XLS to XLSM conversion.
Sample code:

Workbook workbook = new Workbook("e:\\test2\\Template-NR-LInks-Deleted.xls");
workbook.Save("e:\\test2\\out1.xlsm", Aspose.Cells.SaveFormat.Xlsm);

I have logged a ticket with an id “CELLSNET-51550” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

The template file is Excel 95/5.0 file.The records of the external link are not clear for us and they are different from Excel 97-2003. We can not fix it soon, please resave it as Excel 97-2003 or advance version now.


This is to inform you that your issue has been resolved. The fix will be included in the next release (Aspose.Cells v22.8) which is scheduled to be published in the second week of August 2022. You will also be notified when the next version is released.

The issues you have found earlier (filed as CELLSNET-51550) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi