Consulting

Results 1 to 8 of 8

Thread: Solved: New Day, New Project

  1. #1

    Solved: New Day, New Project

    Have I ever mentioned that I'm not really like this ... ha!

    "yes/no" question .... I'll find out how later ...

    Is it possible to have two dropdowns (say, DD1 and DD2) where DD2's list is dependent on DD1's selection?

  2. #2
    Knowledge Base Approver
    The King of Overkill!
    VBAX Master
    Joined
    Jul 2004
    Location
    Rochester, NY
    Posts
    1,727
    Location
    Hi Tony,

    Since you only want a yes/no answer now, yes!

    I'll post an example later (very near future)
    Matt

  3. #3
    After I read that ....

    How long would you estimate it would "normally" take (for a project estimate)?

  4. #4
    Knowledge Base Approver
    The King of Overkill! VBAX Master
    Joined
    Jul 2004
    Location
    Rochester, NY
    Posts
    1,727
    Location
    Quote Originally Posted by tonyrosen
    After I read that ....

    How long would you estimate it would "normally" take (for a project estimate)?
    Not sure I understand what you're asking...?


    Is it later yet? You could put something like this in the _Change event of the first drop down, to change the choices available in second drop down
    [vba]Private Sub DD1_Change()
    DD2.Value = ""
    Select Case DD1.Value
    Case "Choice1"
    DD2.ListFillRange = "A1:A3"
    Case "Choice2"
    DD2.ListFillRange = "B1:B3"
    Case "Choice3"
    DD2.ListFillRange = "C1:C3"
    Case Else
    DD2.ListFillRange = "D13"
    End Select
    End Sub[/vba]Matt

  5. #5
    Wow ... that quick, huh? If this were ASP or PHP, I could write it up that quick ... I'll just go sulk in my VBA book and try to stay away from the Dark Side.

  6. #6
    Knowledge Base Approver
    The King of Overkill! VBAX Master
    Joined
    Jul 2004
    Location
    Rochester, NY
    Posts
    1,727
    Location
    Well writing it in asp wouldnt be too much different, unless you'd be controlling it with js. then again I associate asp with vbs, as I think in vb sometimes. Php is like spanish to me -- I can stumble my way through it if I'm reading it, but I cant write it or speak it

  7. #7
    Hi tonyrosen

    Did you happen to read firefytr's reply in yesterdays thread?

  8. #8
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Andy_UK has one in the kb that might be what your looking for...click here

    If your looking for something that doesn't use vba, take a look at the attachment. Select fruits or vegies in the first dropdown...then make selection in second dropdown....hope I understand your question.
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

Posting Permissions

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