Textbox question
Jorge,
Try something like
Private Sub TextBox1_Enter()
With TextBox1
.SelLength = Len(.Text)
.SelStart = 0
End With
End Sub
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Jorge Rodrigues" wrote in message
...
Hi, guys
I have a textbox and what I want is, when is set focused, hilight all the
word/number, in order to override the old one by the new. As far as I saw,
the cursor only goes next to the last digit, don't hilight all the
number/word.
TIA
Jorge
|