Hi,
i have installed Aspose.Cells 4.8.0.0.
Following code throws an exception (the bold lines):
Workbook workbook = new Workbook();I only have the german message:
workbook.Open(@“C:\Temp\Testdocument.xls”);
Range[] ranges = workbook.Worksheets.GetNamedRanges();
Workbook workbookCopy = new Workbook();
workbookCopy.Copy(workbook);
"Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein."
I also test the code with a demo-version of Aspose.Cells 4.8.0.1.
In this case the line “workbook.Worksheets.GetNamedRanges();” doesn’t throw an exception, but the line “workbookCopy.Copy(workbook);” still throws the exception.
I have attached my testdocument for you.
Thanks for your help