after setfocus want cursor to go to the right

elfranzen

Registered User.
Local time
Today, 08:07
Joined
Jul 26, 2007
Messages
93
After I do a setfocus I don’t want the field to be all highlighted can I have a VB code to have replicate the right arrow or something of that nature?

Thanks
 
Yes, just use this:
Code:
With Me.TextBoxNameHere
   .SelStart = Len(Me.TextBoxNameHere)
   .SelLength = 0
End With
 

Users who are viewing this thread

Back
Top Bottom