+ Reply to Thread
Results 1 to 3 of 3

Conditional Use of List box (drop down)

  1. #1
    Crispy
    Guest

    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. #2
    CLamar
    Guest

    RE: 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. #3
    Bob Phillips
    Guest

    Re: 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" <Crispy@discussions.microsoft.com> wrote in message
    news:8483D4F1-7D6C-4F87-B5E4-7925E8EE6A59@microsoft.com...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1