Link Search Menu Expand Document

SSpread.SetText Method

Explanation Sets the text in the specified cell.

This is the same function as setting the value with the Text property. Use the SetFloat and SetInteger methods to set the cell value as a number.
Call format SetText(col, row, text)
Return value None
Arguments col Cell column number
row Cell row number
text Text to set
Exception EXT-28 An error occurred in the SetText method
Example of use
    Col = 1;
    Row = 1;
    CellType = $CellTypeCurrency;
    
    SetText(1, 1, "123.45");
    var ret = GetText(1, 1);
    print(ret, ret.classname, "\n");   
    
Related item Text, Value properties
GetText, SetFloat, SetInteger methods