Link Search Menu Expand Document

SSpread.SelText Property

Sets the text to select with the value yentered in the active cell.

Only valid when the spreadsheet is in input mode (EditMode property is $TRUE).

In combination with the SelStart and SelLength properties, the value in the active cell can partially replaced.

Example of usage

Function OnEditModeOn (e) {
     / * Set the initial value * /
     SelStart = 0;
     SelLength = -1;
     if (SelText.Length == 0) {
         SelText = sysdate ();
     }
}

Related Items
EditMode, SelLength, SelStart properties