Exception with GetNamedRanges

Hi,

I am working with Aspose.cells.dll version 4.4.0.28. I have the following exception when I work with the file in attachment.

Exception : System.Exception: error in set range name
at Aspose.Cells.Range.set_Name(String value)
at Aspose.Cells.Name.ౢ()
at Aspose.Cells.Names.ష(Worksheets ়)
at Aspose.Cells.Worksheets.GetNamedRanges()

Code :

.... Workbook workbook = new Workbook();
workbook.Open(_fileName);
Range[] ranges = workbook.Worksheets.GetNamedRanges();
workbook.Save(_fileName);
....

Please, can you fix this issue, it is very important for us.

Thank you,

Gregory

Hi Gregory,

Since you are using some older version of Aspose.Cells. I tried your code using your template file with the latest version / fix (4.4.3.15) attached and it works fine without any issue at all.

Kindly try the attached version.

Thank you.