![]() |
Form Control Drop Down Lists
Is there a way to have sequential drop down list boxes where the 1st list box
limits the available selections of the 2nd, 2nd to 3rd, (see example data below). The goal is to identify a specific fruit with the 2nd box listing only the types of fruits selected and the 3rd listing only the companies that produce that fruit (e.g. Sunkist produces a Naval orange not a Granny Smith orange). My thoughts and research tell me I can do this using €śForm Controls€ť in Excel €“ btw that is how the data is stored. But the reference materials Ive seen does not seem to address this scenario. Any help will be appreciated. Example: 1st Box List €śFruits€ť €“ Orange, Apple, Bananas. 2nd Box List €śDescriptions€ť €“ Naval, Satsuma, Blood, Granny Smith, Red Delicious. 3rd Box List €śCompanies€ť €“ Dole, Sunkist, Harry & David, Chiquita. |
Form Control Drop Down Lists
I think these links will give you what you want (or darn close):
http://www.contextures.com/xlDataVal02.html http://www.contextures.com/xlDataVal13.html Regards, Ryan-- -- RyGuy "rl4lsu" wrote: Is there a way to have sequential drop down list boxes where the 1st list box limits the available selections of the 2nd, 2nd to 3rd, (see example data below). The goal is to identify a specific fruit with the 2nd box listing only the types of fruits selected and the 3rd listing only the companies that produce that fruit (e.g. Sunkist produces a Naval orange not a Granny Smith orange). My thoughts and research tell me I can do this using €śForm Controls€ť in Excel €“ btw that is how the data is stored. But the reference materials Ive seen does not seem to address this scenario. Any help will be appreciated. Example: 1st Box List €śFruits€ť €“ Orange, Apple, Bananas. 2nd Box List €śDescriptions€ť €“ Naval, Satsuma, Blood, Granny Smith, Red Delicious. 3rd Box List €śCompanies€ť €“ Dole, Sunkist, Harry & David, Chiquita. |
Form Control Drop Down Lists
The short answer is: Yes
First you have to have all of the categories listed somewhere on a sheet so the code for each list box can be structured to go to the sheet and retrieve that particular category. For example, all of you apple types would be listed as a group in a range of a column or row. The same with oranges, bananas, etc. Then, you could make listbox one the container for the fruit variety. If apples is selected go to the range for the types of apples and load listbox 2. Select Granny Smith and the code would then go to the range for distributors and find the distributor for Granny Smith. You can see that it would be necessary to cross index fruit to variety and variety to distributor on the worksheet so that they can be easily found. "rl4lsu" wrote: Is there a way to have sequential drop down list boxes where the 1st list box limits the available selections of the 2nd, 2nd to 3rd, (see example data below). The goal is to identify a specific fruit with the 2nd box listing only the types of fruits selected and the 3rd listing only the companies that produce that fruit (e.g. Sunkist produces a Naval orange not a Granny Smith orange). My thoughts and research tell me I can do this using €śForm Controls€ť in Excel €“ btw that is how the data is stored. But the reference materials Ive seen does not seem to address this scenario. Any help will be appreciated. Example: 1st Box List €śFruits€ť €“ Orange, Apple, Bananas. 2nd Box List €śDescriptions€ť €“ Naval, Satsuma, Blood, Granny Smith, Red Delicious. 3rd Box List €śCompanies€ť €“ Dole, Sunkist, Harry & David, Chiquita. |
Form Control Drop Down Lists
Thanks, I will be able to use componets from both links to get the results I
need. Kind Regards, Rudy "ryguy7272" wrote: I think these links will give you what you want (or darn close): http://www.contextures.com/xlDataVal02.html http://www.contextures.com/xlDataVal13.html Regards, Ryan-- -- RyGuy "rl4lsu" wrote: Is there a way to have sequential drop down list boxes where the 1st list box limits the available selections of the 2nd, 2nd to 3rd, (see example data below). The goal is to identify a specific fruit with the 2nd box listing only the types of fruits selected and the 3rd listing only the companies that produce that fruit (e.g. Sunkist produces a Naval orange not a Granny Smith orange). My thoughts and research tell me I can do this using €śForm Controls€ť in Excel €“ btw that is how the data is stored. But the reference materials Ive seen does not seem to address this scenario. Any help will be appreciated. Example: 1st Box List €śFruits€ť €“ Orange, Apple, Bananas. 2nd Box List €śDescriptions€ť €“ Naval, Satsuma, Blood, Granny Smith, Red Delicious. 3rd Box List €śCompanies€ť €“ Dole, Sunkist, Harry & David, Chiquita. |
All times are GMT +1. The time now is 09:58 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com