Dependant lists using Combo Boxes

L

Lynda

I want to create dependant dropdown lists using combo boxes from the Forms
toolbar.
I have created an exit survey form using check boxes and combo boxes from
the Forms toolbar. Now my boss wants me to add an occupation category where
the occupation is e.g. Information Technology, then within that occupation
they may be Help Desk Support or Mainframe Supervisor etc. Then there may be
another occupation category for Finance where they may be in contracting or
accounts payable etc.
I looked at Debra’s site and, unless I’ve missed something, there is nothing
covering dependent lists using combo boxes from the Forms toolbar, maybe it
is not possible to do because I’m sure she would have covered it. I want to
keep my survey uniform and I didn’t really what to have a mix of boxes or to
have to go back and change everything to the Control Toolbox because I do
prefer to use the Forms Toolbox.
 
F

FSt1

hi
she did cover it. you just look on the wrong page.
http://www.contextures.com/xlDataVal10.html
works like this
load combo box 1 the normal way, setting the row source.
in the combo box 2
if combobox1.value = select1 then
combobox2.rowsource = range("A2:A10")
else
combobox2.rowsource = range("B2:B10")
end if
you will need a if then for each selection option in combobox1. if you have
a lot, you may concider a select case.

regards
FSt1
 
L

Lynda

Thank you for your response FSt1, but i think you missed my meaning. I was
wanting to use the Combo Box from the FORMS toolbar NOT the Control Toolbox.
I did look at Debra's page and it all relates to the Control Toolbox. I don't
understand what you mean by a select case.
 

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

Top