Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default 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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down lists from multiple source lists RoofIL Excel Worksheet Functions 3 February 18th 10 09:44 PM
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
Drop down lists that auto create and then filter the next drop down list [email protected] Excel Worksheet Functions 2 September 30th 07 11:53 AM
Multiple lists with repeated values for dependet drop down lists mcmanusb Excel Worksheet Functions 1 September 29th 06 12:13 AM
Drop Down Form control always causes excel to crash headly Excel Discussion (Misc queries) 1 June 22nd 06 03:38 AM


All times are GMT +1. The time now is 10:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"