Highlight text in textboxes
With TextBox1
.SelStart = 1
.SelLength = Len(.Text)
.SetFocus
End With
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"Frederick Chow" wrote in message
...
Hi all,
A simple question: How can I programmatcially highlight text in a textbox?
Textbox.SetFocus doesn't work. Thanks for your advcie in advance.
Frederick Chow
|