Select / Highlight txt or cbo box value

vmon

Registered User.
Local time
Today, 15:52
Joined
Jan 21, 2003
Messages
49
I am setting focus to a combo box and would like the value in the box to be selected so a keystroke would clear value. Just like the tab key does.

thanks,
vmon
 
Try:
Me.Text2.SetFocus
Me.Text2.SelLength = Len(Me.Text2)
 

Users who are viewing this thread

Back
Top Bottom