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

Free Support Forum - aspose.com

Is the maximum cell length stored at some constant?

While exporting some table contents to an Excel I am getting this exception:

You want to put a string longer than 32K to Cell D556. MS Excel only allows to put a string shorter than 32K to a Cell.

I have verified the content that goes there is a 100k string, I have also verified that if I try to copy it on an Excel field manually, it is truncated to 32767 characters, I will add some check to prevent storing so long strings on a cell but I would like to check if there is some constants in Aspose.Cells storing this value so that if in the future this size get increased I will not have to worry about changing it.

You cannot insert/store more than 32,767 characters. This limit is put forth by all MS Excel versions (Excel for Microsoft 365, Excel 2021, Excel 2019, Excel 2016, Excel 2013, Excel 2010, Excel 2007).

Yes, we will surely accommodate it (internally) if in any case this limitation will be changed.