I have built a userform that has combox lists in it. The first list uses the row source to look for it's values in the first sheet. I then want to filter what shows in the second box on the basis of what is selected in the first one.
So column A in the worksheet list something along the lines of:
Bakery (by)
Chemist (ct)
Cobblers (cs)
Column B has the list:
by/cakes
by/bread
by/pasties
ct/toothbrush
ct/pills
ct/deodorant
ct/shampoo
cs/shoes
cs/shoelaces
What I need to do is filter the second list that shows in combobox2 on the basis of the selection made in combobox1.
I'm sure there must be an easy way to do this using tables but I can't find it. It is possible for me to put the two letter code in a column next to the appropriate items.
I want to move away from the idea of iterating through the list and writing the correct values to an additional column.
Any help would be gratefully appreciated.
Thanks
So column A in the worksheet list something along the lines of:
Bakery (by)
Chemist (ct)
Cobblers (cs)
Column B has the list:
by/cakes
by/bread
by/pasties
ct/toothbrush
ct/pills
ct/deodorant
ct/shampoo
cs/shoes
cs/shoelaces
What I need to do is filter the second list that shows in combobox2 on the basis of the selection made in combobox1.
I'm sure there must be an easy way to do this using tables but I can't find it. It is possible for me to put the two letter code in a column next to the appropriate items.
I want to move away from the idea of iterating through the list and writing the correct values to an additional column.
Any help would be gratefully appreciated.
Thanks