Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
tab textbox by a macro
I have some textbox in a user form...
I start on textbox1 and then once it is filled in a click commandbuttom1.. This click will populate some data then I then would like the cursor to move to textbox2... How do I do it with a macro and not expecting user to hit tab or enter? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
tab textbox by a macro
Hi alberto,
At the end of the code run by CommandButton1 insert the following. Me.TextBox2.SetFocus -- Regards, OssieMac "Alberto Ast" wrote: I have some textbox in a user form... I start on textbox1 and then once it is filled in a click commandbuttom1.. This click will populate some data then I then would like the cursor to move to textbox2... How do I do it with a macro and not expecting user to hit tab or enter? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
help! macro textbox | Excel Programming | |||
'Find' textbox value macro | Excel Discussion (Misc queries) | |||
TextBox Macro - Is there an easier way ? | Excel Programming | |||
textbox in a macro | Excel Programming | |||
Excel VBA/Macro - Textbox | Excel Programming |