We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception on opening xlsb file

Hi, Aspose team,
We have an issue with the opening of the Excel workbook. It can be opened in MS Excel without any problem but in Aspose.Cells there is an exception.

  Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex

Workbook: tmp1BDC.zip (6.9 KB)

Workbook wb = new Workbook(fName);

Microsoft Excel for Office 365 MSO (Version 2111 Build 16.0.14701.20254) 64 bit


Please notice, I am able to reproduce the issue as you mentioned by loading your template XLSB file. I found an exception “Index was out of range. Must be non-negative and less than the size of the collection” on opening the XLSB file. I have logged a ticket with an id “CELLSNET-50138” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.


This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

Please try the latest fix 21.12.5.
Aspose.Cells21.12.5 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.12.5 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.12.5 For .NetStandard20.Zip (5.6 MB)

Thank you, it works now.


It is nice to know that your issue is sorted out by the new fix. Feel free to contact us any time if you need further help or have some other issue or queries.

The issues you have found earlier (filed as CELLSNET-50138) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao