movign cursor at the end of the word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have a function that will check which digit or letter is entered in a
textbox.
This function will eventually delete the wrong last character and get back
to the textbox to finish entering the data.
Once the textbox get the focus from the function, I would like to have the
cursor at the end of the text entered, and not all the text selected.
Is it possible?
Thans!
Rocco
 
rocco said:
I have a function that will check which digit or letter is entered in a
textbox.
This function will eventually delete the wrong last character and get back
to the textbox to finish entering the data.
Once the textbox get the focus from the function, I would like to have the
cursor at the end of the text entered, and not all the text selected.
Is it possible?


Check VBA Help for the SelStart and SelLength proprerties.
 
Back
Top