Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 181
Default user form parameters

Where can I learn how to set up the user form parameters

I have a user form with three text boxes but when I click tab I do not know
how to control the next text box to go.

Then I have a commandbuttom which I expect user to click but would like to
be able to skip the buttom and just accept the enter to execute macro.

Can I do it?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default user form parameters

In the Userform design mode, right click the text box and select properties.

You will find 3 properties. Tab Index, TabKeyBehaviour and TabStop

TabIndex starts at zero for the first stop. Set the Numeric 0 to 2 for each
of the 3 textboxes in the required order.

TabKeyBehaviour = False. Tab advances to next control.
TabKeyBehaviour = True. Tabs within the control. (Use Enter to advance to
next control)

TabStop = True. Cursor will stop in the control with Tab or Enter.
TabStop = False. Cursor will skip the control with Tab or Enter but you
can still select the control with the mouse.

--
Regards,

OssieMac


"Alberto Ast" wrote:

Where can I learn how to set up the user form parameters

I have a user form with three text boxes but when I click tab I do not know
how to control the next text box to go.

Then I have a commandbuttom which I expect user to click but would like to
be able to skip the buttom and just accept the enter to execute macro.

Can I do it?

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
Query from Access Database based on user selected parameters in Excel AG[_3_] Excel Programming 2 August 26th 09 01:52 AM
Date field in user form & Loading a user form on opening workbook Balan Excel Programming 1 May 24th 08 03:40 PM
Variable number of parameters in Excel User Defined Function Tony Gravagno Excel Programming 0 December 13th 07 05:33 AM
Using a Form for Parameters Sheenalis Excel Programming 3 July 28th 06 03:16 AM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM


All times are GMT +1. The time now is 11:37 PM.

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

About Us

"It's about Microsoft Excel"