Since you can pass a TM1_String into the write function TM1CubeCellValueSet, I suppose that the maximum number of characters isTM1_STRING A character string whose length does not exceed 64K bytes.
64.000 for ANSI and 32.000 (64K / 2 Bytes) for Unicode (UTF16).
