chuckcoleman
Registered User.
- Local time
- Today, 15:07
- Joined
- Aug 20, 2010
- Messages
- 380
I have a text box on a form that has an input mask. The input mask is: 09\-09" X "0\-09" X "0\-09;0;_ I have some vba code using the On Exit event from the text box where I need to detect if the user used the right arrow key AFTER entering the first digit, (in the second position where the 9 allows it), to move them to next digit input position. I can't figure out how to detect that the right arrow key was used. If the user uses the space bar AFTER entering the first digit, no problem; I just look for " ". I've tried Mid(TextBoxName, 2, 1) = vbKeyRight but it doesn't work.
Any ideas?
Chuck
Any ideas?
Chuck