Dependant lists using Combo Boxes

  • Thread starter Thread starter Lynda
  • Start date Start date
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.
 
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
 
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

Similar Threads

Select case for dependant lists 2
Combo Box dropdown data 20
Combo Box 1
Loading Combo Boxes on a Continious form 3
Combo Box 1
List box selection into combo box 2
Find Record Box 1
Combo Box/Drop down box 1

Back
Top