Link Search Menu Expand Document

SSpread.SelLength Property

Set the number of characters to select with the value being entered in the active cell.

Only valid when the spreadsheet is in input mode (EditMode property is $ TRUE). If -1 is specified, it will be selected until the end.

Get and set the selection in combination with the SelStart property. In addition, it can be combined with the SelText property to partially replace the value in the active cell.

Example of usage

Function OnEditModeOn (e) {
     / * Set the initial position of the cursor to the beginning * /
     SelStart = 0;
     SelLength = 0;
}

Related Items
EditMode, SelStart, SelText properties