property HTML.CursorPos as Long
Returns or sets the position of the cursor inside the text.

TypeDescription
Long A Long expression that specifies the position of the cursor inside the text (insertion point).
The CursorPos property is a long expression between CursorStart and CursorEnd properties. The ClientPos property returns the position of the mouse pointer inside the text. The CursorStart property gives the starting position of the text. The CursorEnd property gives the ending position of the text. The CursorText property gets or sets the text between giving coordinates, formatted or unformatted. The SelStart returns or sets the starting point of text selected. In other words, if no text is selected, The SelStart and CursorPos indicates the position of the insertion point ( equivalent ).