Oops, that should have been
With Me!MyTextbox .SetFocus .SelStart = .SelLength End With
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!)
"Douglas J. Steele" <NOSPAM_djsteele[ at ]NOSPAM_gmail.com> wrote in message news:...
[Quoted Text] > With Me!MyTextbox > .SetFocus > .SelText = .SelLength > End With > > -- > Doug Steele, Microsoft Access MVP > http://I.Am/DougSteele> (no e-mails, please!) > > > "dbarmer" <dbarmer[ at ]discussions.microsoft.com> wrote in message > news:DD29FA36-5F9B-4043-9E6E-13CE916C09CE[ at ]microsoft.com... >>I have an unbound text box that I use on a form that updates text to it as >> code progresses in VBA. It updates the user what the program is doing. >> It >> works well, however, I can't seem to get the "highlight" off the text. >> Is >> there a way to get that insertion point at the end of the text - in the >> unbound text box, or at least not highlight at all... > >
|