Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Crispy
 
Posts: n/a
Default Conditional Use of List box (drop down)

I am able to define and use list boxes (defining a name for data range)
individually. I would like to be able to have a user select an option from a
master list and, dependent on this selection, display a new list box,
adjacent cell, that has options related to the first selection. Can anyone
help. Thanks (not a coder, sorry)

Application - master list has Company Division selection and then have set
up multiple list boxes that hold job functions against each division option.
If user selects Project Office, from main list, I would like adjacent cell to
display the drop down list I have defined as Project and so on
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLamar
 
Posts: n/a
Default Conditional Use of List box (drop down)

I have done something but my list box related back to a database. I did it
by writing a loop that parses through all the entries in the list box and
when it finds one that was selected by the user it assigns it to variable.
After it is assigned to variable, you can input it into a statement that
calls some data related to the selection: Here is the loop

Public Function ChooseType()
Dim h As Integer
Dim Typ As String
For h = 0 To Sheets("Program").LstChoices.ListCount - 1
If Sheets("Program").LstChoices.Selected(h) Then _
Typ = Typ & Sheets("Program").LstChoices.List(h)
ChooseType = Typ
Next h
End Function

"Crispy" wrote:

I am able to define and use list boxes (defining a name for data range)
individually. I would like to be able to have a user select an option from a
master list and, dependent on this selection, display a new list box,
adjacent cell, that has options related to the first selection. Can anyone
help. Thanks (not a coder, sorry)

Application - master list has Company Division selection and then have set
up multiple list boxes that hold job functions against each division option.
If user selects Project Office, from main list, I would like adjacent cell to
display the drop down list I have defined as Project and so on

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Conditional Use of List box (drop down)

See http://www.contextures.com/xlDataVal02.html

and

http://www.xldynamic.com/source/xld.Dropdowns.html

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Crispy" wrote in message
...
I am able to define and use list boxes (defining a name for data range)
individually. I would like to be able to have a user select an option from

a
master list and, dependent on this selection, display a new list box,
adjacent cell, that has options related to the first selection. Can anyone
help. Thanks (not a coder, sorry)

Application - master list has Company Division selection and then have set
up multiple list boxes that hold job functions against each division

option.
If user selects Project Office, from main list, I would like adjacent cell

to
display the drop down list I have defined as Project and so on



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 list as part of a file name selector Guido Excel Discussion (Misc queries) 1 May 25th 06 07:13 PM
Order of drop down list Cash Excel Discussion (Misc queries) 1 April 4th 06 11:12 PM
Limit drop down list and linking to other info Intuit Excel Worksheet Functions 13 February 2nd 06 09:48 PM
changing value of a cell by selecting an item from a drop down list Bobby Mir Excel Worksheet Functions 6 June 8th 05 08:33 PM
Pull unique names for drop down list [email protected] Excel Discussion (Misc queries) 3 February 1st 05 10:23 PM


All times are GMT +1. The time now is 07:03 PM.

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

About Us

"It's about Microsoft Excel"