Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Set Tab Order in User form


Hi All,

How can we set a Tab order in User form? what i mean is, If I hit tab on
keyboard, I want the cursor to point to the field next to it.

Thanks in Advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set Tab Order in User form



Controls on a userform have two tab-related properties: TabStop which is
a
True/False boolean and TabIndex, which is an integer that controls
which control gets focus as the Tab key is pressed. You can't have two
controls that have the same TabIndex value, so it works best to start
numbering them at the last control you would want to have focus and work
your way back up to 1...

BTW, if TabStop is False, you can't tab to that control.


--
jamescox
------------------------------------------------------------------------
jamescox's Profile: http://www.thecodecage.com/forumz/member.php?userid=449
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=113134

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set Tab Order in User form


hi Sam,

Right click on the userform in the VBE & select Tab Order. You can see
the 2 below links for more details:
'Excel -- UserForm With ComboBoxes'
(http://www.contextures.com/xlUserForm02.html#Test)
'VBA for Excel Userforms'
(http://www.excel-vba.com/vba-forms-3-1-creating.htm)

hth
Rob


--
broro183

Rob Brockett. Always learning & the best way to learn is to
experience...
------------------------------------------------------------------------
broro183's Profile: http://www.thecodecage.com/forumz/member.php?userid=333
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=113134

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
Date field in user form & Loading a user form on opening workbook Balan Excel Programming 1 May 24th 08 03:40 PM
User Form Tab Order Erik (AP Inc.) Excel Discussion (Misc queries) 3 August 26th 06 03:15 AM
Tab order in a user form TimN Excel Programming 2 August 3rd 06 06:20 PM
Tab order on User Form not working lestercrombie[_2_] Excel Programming 0 February 23rd 06 03:37 AM
Control Order on User Form AKoodray Excel Programming 4 December 30th 03 09:30 PM


All times are GMT +1. The time now is 12:56 PM.

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"