Dependent three level Dropdowns in excel UserForm

fotodj

New Member
Joined
Jul 19, 2014
Messages
38
Office Version
  1. 2016
Platform
  1. Windows
I am having a hard time to code three level dropdown in the excel test file I am working on:
12-6-2024 1-15-50 PM.jpg
Service Test Excel File

The goal is to use data from that Sheet "Lookup" (shown above) and have userform working properly adding the data to sheet "Staff"....
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Use the ComboBox (I'm assuming they are ComboBoxes) "Enter" event to populate the dropdown based on value of the previous ComboBox.
 
Upvote 0
Reminder: Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Dependent dropbox on excel userform
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Reminder: Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Dependent dropbox on excel userform
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
Understood...
 
Upvote 0
Hi
You were going in right direction using tables (listobjects).
Suggest that you convert the two ranges to tables and name them appropriately which will allow you to:

- populate Service & Details comboboxes using listobject.listcolumns(column name) property to return selected columns databodyrange value.
- Populate Department combobox from service table using ListObject.HeaderowRange.value negating need for separate table.

PlumbingCarpentryPaintingitem 1item 2item 3item 4item 5item 6item 7item 8item 9
item 1item 4item 7xadgjmpsf
item 2item 5item 8ybehknqtg
item 3item 6item 9zcfjloruh


Dave
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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