+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Dependent DropDown lists

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    Mississauga,Canada
    MS-Off Ver
    Excel 2007
    Posts
    1

    Dependent DropDown lists

    Hi ive been working with excel over the past few days trying to create a number of dependent drop down lists for a Variant Request Fourm.

    The goal is to create a customer friendly order fourm where all one has to do is select a product which will trigger all the avalible features accosiated with it.

    For example: MLL-1001 is selected in dropdown box 336.

    Therefore in the colour option dropdown box only grey, black and white should appear rather than the full option of colours.

    I have been hunting on other sites for ways to accomplish this using VBA code but I have had no success. This is an example of what i have been trying to do.

    Sub DropDown364_Change()

    Select Case DropDown364.Text
    Case "MLL-1001"
    ActiveSheet.Shapes("DropDown365").Select
    Selection.ListFillRange = "B13:B16"
    ActiveSheet.Shapes("DropDown339").Select
    Selection.ListFillRange = "C3:C6"
    ActiveSheet.Shapes("DropDown342").Select

    End Select
    End Sub

    If anyone could offer me some advice it would be very much appreciated

  2. #2
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Dependent DropDown lists

    Hi Harrison

    Is there any particular reason for doing this with VBA, you should be able to do it relatively easily without any code.

    Can you post a sample spreadsheet?

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Dependent DropDown lists

    I attached a file that demonstrates a VBA approach to using dependent dropdown lists (using Data Validation) and with auto-clearing of the dependent lists when a parent value is changed.

    Does that help?
    Attached Files Attached Files
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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