property HTML.SelLength as Long
Returns or sets the number of characters selected.

TypeDescription
Long A long expression that indicates the number of characters selected.

Returns the number of characters the user selects in a text-entry area of a control, or specifies the number of characters to select. Not available at design time; read-write at run time.  Use the SelText property to get the current selection. The control fires the SelChange event when user changes the selection. Use the SelForeColor and SelBackColor properties to specify the colors for the selected text. 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.