Dependent Lists in User Forms

pan_kaj

Board Regular
Joined
Dec 28, 2004
Messages
80
Hello experts,

Need some help. Am building a user form for the first time and some of the posts on the website have helped immensely. Although am stuck at a point now.

In my user form amongst others, I have two drop down menus that need to be populated before the form is submitted.

The first Drop down is Category (options to select are: "HHT", "LTT" or "MTS")
The second Drop down is type and is dependent on the option selected in the first.
so if selected HHT in first drop down, the second drop down shd only show the following options (HHT1, HHT2, HHT3) alternatively, if selected LTT in first drop down, the second drop down shd only show the following options (LTT1, LTT2, LTT3) for the user to select from.

I know how to do this in normal excel but not in a user format. can someone please help?

Cheers!
PJ
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
All you need to do is build an array of the items that match the selected item of the first list, and then load the combo or listbox with that array.
 
Upvote 0
XLD,

Thanks for your reply, but can you help with a bit more information? Will this be some code to be written in VBA or just reference data on the spreadsheet?

A bit more detail would help a lot.

Cheers
PJ
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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