Mr Neil,

You need not write any code for this.

Just open the form in VBA, select the text box1 and right click it,
select properties.

In that

Set Autotab = true
set maxlength = 2

do the same thing for text box2.

Regards,
Kishan Reddy, K

On Sep 2, 1:17 pm, neil johnson <neil.jh...@googlemail.com> wrote:
> Hi Everyone,
>
> Which events should I use. I have three text boxes. When I enter the date in
> one textbox without using tab , curser moves to another text box and when i
> enter the date in text box2 then curser moves to textbox3 without using tab.
> Please find the attached sheet.
>
> Thanks and Regards
>
>  userform question.xls
> 55KViewDownload

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to