Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 181
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help! macro textbox aprice1989 Excel Programming 1 June 16th 08 04:29 PM
'Find' textbox value macro D Excel Discussion (Misc queries) 3 February 20th 08 05:26 PM
TextBox Macro - Is there an easier way ? Andrew B[_4_] Excel Programming 4 August 26th 05 05:10 AM
textbox in a macro costas Excel Programming 2 October 4th 04 01:35 PM
Excel VBA/Macro - Textbox thesteelmaker[_3_] Excel Programming 1 February 20th 04 06:33 PM


All times are GMT +1. The time now is 05:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"