Row index is out of range. It should be 0 to 65535

Hi there,

I’m trying to use Aspose.cells for a project to generate reports, which could result in multiple licenses being purchased. Unfortunately I get the following exception when calling (I believe) Sheet.Cells[row, col++] for a large report:

Row index is out of range. It should be 0 to 65535.

Smaller reports work fine.

I know that Excel 2007 has removed the limit of 65535 rows since 2003 and that is the format I am working with. Is Aspose.cells limited to this or should I be looking elsewhere in my code?

Please respond as soon as possible.



Hi Matt,

Thank you for considering Aspose.

Which version of Aspose.Cells are you using? Please try the attached latest version of Aspose.Cells. There is no restriction on number of Rows any more. If you still face any issue, please share you sample code & template file(s) and we will look into it.

Thank You & Best Regards, I’ll try dowloading the latest.