Hello,
Thanks for your inquiry.
Kindly note that our Spire.XLS creates a workbook based on the Excel version 2003 by default when doing “new Workbook()”, and the 2003 version itself has the limitations of 65536 rows and 255 columns. However, you can set a higher version for workbook like the following code.
- Code: Select all
//create a workbook
Workbook workbook= new Workbook();
//specify excel version
workbook.Version = ExcelVersion.Version2010;
...
workbook.SaveToStream(ms, FileFormat.Version2016);
If there is any other issues, just feel free to contact us.
Sincerely,
William
E-iceblue support team