System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index


#1

I'm getting the following error when I try to the open the Excel file. This file has macros and automatically loads a form when the file is opened. It also has hidden worksheets.

[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.ArrayList.get_Item(Int32 index) +91
Aspose.Cells.Names.get_Item(Int32 index)
Aspose.Cells.Ն.ן(Byte[] ׀, Int32 נ)
Aspose.Cells.Ն.ס(Int32 נ, Byte[] ׀, Int32 ף, Int32 Ԍ, Boolean פ)
Aspose.Cells.Record.൓.ൟ(Byte[] ׀, Int32 נ, ValidationType َ, Int32 إ, Int32 ،)
Aspose.Cells.Record.൓.൞(Byte[] ׀)
Aspose.Cells.RW.ྤ.࿔(࿦ Ԏ)
Aspose.Cells.RW.ྤ.࿟(࿦ Ԏ)
Aspose.Cells.RW.ྤ.࿥(MemoryStream Ԏ)
Aspose.Cells.RW.ྤ.࿠(้ ࿡)
Aspose.Cells.RW.ྤ.๶(String Հ)
Aspose.Cells.Workbook.Open(String fileName)

I'm using the evaluation copy of the Aspose.Cells.

Thanks.


#2

Could you please send your file to nanjing@aspose.com? Which version of Aspose.Cells are you using?