Free Support Forum -

Cell value max length


I am importing a cell that has very long text in it:

int index = worksheet.Cells.CheckExistence(row, col);
if (index != -1)
// value is truncated (as well as StringValue)
object value = worksheet.Cells[index].Value;

When I open the workbook using Aspose, the cell’s value seems to be cut short to a maximum of 12449 characters. Can you confirm that number?



Could you post your template file and point out from which cell you are getting data, we will check it soon.

Thank you.

Hi Amjad,

Thanks for your quick answer.

I was wrong. Checking further, I realized that Visual Studio’s debugger wasn’t showing me the whole string, which is why I thought the line was truncated. I don’t think it is anymore. Sorry…

Thanks again!