Cascading Combo Boxes

I

iamamonkeysoareyou

Hi!

I am trying to develop a Cascading Combo Box solution for someone.

Basically, I have one list (List A) in one Combo Box and depending on
what item in List A is chosen, the items in List B is shown.

I then want the items chosen in the combo boxes (List A and B) to
output into a specified (but not limited to) cells in a worksheet.

Please help!

Thanks,
 
N

NickHK

Assuming you fill cboFirst with words (e.g. Oranges, Apples, Bananas) that
match the range names of the various categories (e.g. rngOranges, rngApples,
rngBananas) to appear in cboSecond, then
Private Sub cboFirst_Click()
cboSecond.ListFillRange = ActiveSheet.Range("rng" & cboFirst.Text).Address

Private Sub cboSecond_Click()
'Do something with the values in the 2 combos

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

combo box 2
Use VLOOKUP to populate text box on form 8
combo boxes 7
Problems with a Combo Box 2
Combo box help 1
User Form 5
Tip on dialogue/combo box 1
Sorting of table depending on a drop-down-list entry 4

Top