property HTML.PositionToX (Position as Long) as Long
Converts the cursor position to x-coordinate (column).

TypeDescription
Position as Long A long expression that specifies the position of the cursor inside the text, as returned by XYToPositon, CursorPos or ClientPos
Long A Long expression that specifies x-coordinate (column).
The PositionToX property converts the cursor position to x-coordinate (column). The PositionToY property converts the cursor position to y-coordinate (line). The PositionToXY property converts the cursor position to (x,y)-coordinates (column,line). The ClientPos property returns the position of the mouse pointer inside the text. The CursorPos property returns or sets the position of the cursor inside the text. 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 ).