Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Nov 15, 2019 1:05 pm

This morning it was working properly but right now it is popping up the below error, this is my code:
Spire.Xls.Workbook workbook = new Spire.Xls.Workbook();
Spire.Xls.Worksheet sheet = workbook.Worksheets[10];

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

hafizullah.ozgur
 
Posts: 7
Joined: Wed Nov 13, 2019 1:28 pm

Mon Nov 18, 2019 6:09 am

Hi,

Thanks for your inquiry.
Please provide the input Excel file which has the issue for further investigation.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Dec 10, 2019 7:20 am

Hi,

Hope you are doing well.
Has your issue been resolved? If not, please provide your input file for further investigation.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.XLS