Team,
I have a need to copy a rather complex range function in my output report. So I actually added the range into an xltm file and use aspose to generate excel files from the template.
My problem are 2.
Problem 1: On generating the .xlsx file, I cannot locate the named range using the API sheet.Workbook.Worksheets.GetRangeByName(“TotalProfitByLineItem”)
- BUT, it is indeed present in the xlsx file. Because if I open the file in Microsoft excel, I can clearly see my named range in the xlsx file. How can I get hold of that range using the API? IS there any other API I could use?
Problem 2: Using MS Excel, I find that the links in this named range have become External Links. How can I keep them internal?
[This second issue is a lower priority because it might be happening as I delete and add worksheets in the program]
Any ideas (especially for Problem 1)?