Unless I am mistaken, just use SelStart without assigning a value.
Dim lngPosition as Long
lngPosition = Me.TextboxControl.SelStart
MsgBox "In position " & lngPosition
"Jim Burke in Novi" <(E-Mail Removed)> wrote in
message news:40B13803-9ACD-424B-B227-(E-Mail Removed)...
> Is there a simple way to determine where the cursor is in a text box after
> someone clicks on it (e.g. in position 9 after the 8th character)? Haven't
> been able to find this anywhere. I know how to use SelStart to SET the
> position, but not how to GET the position.
>
> Jim Burke
|