Tabing from combobox to combobox to text box, how can I control the order.

USAMax

Well-known Member
Joined
May 31, 2006
Messages
846
Office Version
  1. 365
Platform
  1. Windows
I am reading a lot of different things and this really makes me feel dumb!

I need to move through these combo boxes:
Lead
Second
Preconfig
Predeployment
Implementation
Development

Then to the text box: OtherText then to the final combo box: OtherCombo

I want the user to be able to tab between each but I just keep hearing, Tab.Index in the property window. There I see Integers, now what?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I forgot to mention that the order above is what I want plus there are two buttons OK and CANCEL.

The current order is:

Lead
OK
CANCEL
Second
Preconfig
Predeployment
Implementation
Development
OtherText
OtherCombo

I just need the OK and CANCEL moved to the end of the order.
 
Upvote 0
Set the TabIndex for the first control to 0, the next to 1, the next to 2, ...
 
Upvote 0
Thank you shg, that is very clear.

Now that I set all the TabIndex values I want these drop-down combo boxes to advance to the next box when an item is selected. How do I get it to tab to the next field after a selection?
 
Upvote 0
You could add code to the Change event for each control to SetFocus on the next control.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top