property Edit.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 SelLenght property to get the selection's length. Use the SelectLine method to select a line by code. Use the GetSelection method to determine the coordinates of the selected text. Use the SetSelection method to select a text giving the end and start coordinates.