Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Tab order in a user form

When you set the Tab Index in the Properties area for a ComboBox/TextBox etc.
Is there a way to have a box skipped?

I have 4 boxes plus an OK and Cancel button. I would like to have the Tab
order of the boxes be as follows:
1
skip 2
3
4
OK
Cancel.

Can I do that?
  #2   Report Post  
Posted to microsoft.public.excel.programming
baj baj is offline
external usenet poster
 
Posts: 24
Default Tab order in a user form


TimN schreef:

When you set the Tab Index in the Properties area for a ComboBox/TextBox etc.
Is there a way to have a box skipped?

I have 4 boxes plus an OK and Cancel button. I would like to have the Tab
order of the boxes be as follows:
1
skip 2
3
4
OK
Cancel.

Can I do that?


If I understand it right you must have the order :
1
3
4
OK
Cancel
2(skip)

So you look at the userform in your editor, then you put you cursor on
object 1, and in the properties you put TabIndex on 0, then you go to
object 3 and you select Tabindex and put it on 0 again, then you go to
object 4.... etc... automatically Object 2 will get the highest
Tabindex and won't be selected because object OK and object Cancel are
in between...
I hope this works good enough for you ?

Greetings,
Baj

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Tab order in a user form


Private Sub TextBox2_Enter()
Me.TextBox3.SetFocus
End Sub


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"TimN" wrote in message
...
When you set the Tab Index in the Properties area for a ComboBox/TextBox

etc.
Is there a way to have a box skipped?

I have 4 boxes plus an OK and Cancel button. I would like to have the Tab
order of the boxes be as follows:
1
skip 2
3
4
OK
Cancel.

Can I do that?



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
User Form Tab Order Erik (AP Inc.) Excel Discussion (Misc queries) 3 August 26th 06 03:15 AM
Tab order on User Form not working lestercrombie[_2_] Excel Programming 0 February 23rd 06 03:37 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
Control Order on User Form AKoodray Excel Programming 4 December 30th 03 09:30 PM


All times are GMT +1. The time now is 04:57 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"