Hey, thanks for your reply. Unfortunately I'm not using code and don't know how, so that link isn't too helpful.
Hey, thanks for your reply. Unfortunately I'm not using code and don't know how, so that link isn't too helpful.
U mean smth like this?
Hey! That is exactly what I need to do, but there was no explanation on how to do it? Could you post some steps please?
A million thanks!
Walk through ContaminateWitExcel's example as you read this...
For the first combo box, Right click and choose Format Control and then the Control Tab.Input Range = Range of master list (or name of master list if using defined names)Next go to your Define Names window (Insert>Names>Define). For every item in your 1st combo list, name a range corresponding to the options for that list. Names cannot have blank spaces.
Cell Link = cell where you want output (outputs the number of item you choose, eg. 1 for 1st entry, 2 for 2nd. For consistancy we'll choose M17
Next, set up the DependentDropDown name (choose any name) in the Define Name Window. This will bewhere you replace ITEM1 with the name you chose for your first item in your combobox 1. In Cont.wExcel example, that was Azerbaijan.![]()
=OFFSET(ITEM1, M17-1)
Next, right click on combobox 2, Format Control>Control Tab and for input range, put the name you cose for DepenedentDropDown name.
I think I got everything. Normally, I put the output of the Combobox 1 directly underneath the combobox as no one needs to see that number.
Clear as mud?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
On Format Control, I don't have the Control tab... :s
see file please
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, ?Born in USSR?
Vusal M Dadashev
Baku, Azerbaijan
I think that Contaminated used Forms Combo Boxes and you used an Active X Combo box. Can you switch? Can you upload an example of your workbook?
In Excel 2007, The "Define Name" options are on the Formulas Ribbon. To view Contaminated's defined names, use the "Manage Names" Icon. Does that help?
Last edited by ChemistB; 05-26-2009 at 12:51 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks