According to the documentation, Excel has a limit of 32,767 characters per cell.
However, when I save a CSV file that looks like this:
"Cell with exactly 32,767 characters........","Cell 2"
"Cell 3","Cell 4"
It doesn't import correctly:
This appears to happen in both Excel 2013 and Excel Online.
My original assumption had been that it was due to escaped double quotes or some characters being treated as more than a single byte, but the same thing seems to happen with any cell content, even just normal letters.
The issue stops occurring when I reduce the cell to 32,758 or fewer characters. However, I can't find any info about this number anywhere online. Every thread that I've found repeats the 32,767 number.
So, my question would be, is Excel's actual limit for CSV imports 32,758 characters and it's gone completely unnoticed until now, or am I missing something obvious?
Text.Length
--> 32,767. But when I close and load to Excel, it is reduced to 32,765. However, if I create a cell in a blank PQ of length 32,767; and then save that to Excel, all characters are retained.