property HTML.SelStart as Long
Returns or sets the starting point of text selected; indicates the position of the insertion point if no text is selected.

TypeDescription
Long A long expression that indicates the starting point of text selected.

Returns the starting point of a text selection made by the user in a text-entry area of a control, or indicates the position of the insertion point if no text is selected. Also, specifies the starting point of a text selection in a text-entry area of a control. Not available at design time; read-write at run time. Use the SelLength property to get the selection's length. The SelText property specifies the selected text. The control fires the SelChange event when the user changes the selection. The CursorPos property specifies the position of the cursor inside the text. The CursorText property gets or sets the text between giving coordinates, formatted or unformatted.