Link to home
Start Free TrialLog in
Avatar of Jeffrey Reep
Jeffrey ReepFlag for United States of America

asked on

Move to the first character in a text box after update.

I am building an input box for entering a 6 character string. This code can be scanned or entered by hand. To speed up entering this information when scanning I want it to return to the first position ready to accept new input as soon as the "After Update" event triggers. The text box is setup to autotab after the last character is entered so there is no need to do anything but scan the next character string on the list.

I thought it would be as simple this... but it is not working?

With Me!txtWONum
       
    .SetFocus
    .SelStart = 0

End With

HELP!
Fast help gets fast fat points!

Thx
Jeff.
ASKER CERTIFIED SOLUTION
Avatar of serchlop
serchlop
Flag of Mexico image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeffrey Reep

ASKER

Great! That works... Not a fan of send keys so if anybody has a better method please let me know and I'll add some points to the pot!

Thanks for the quick response.