+ Reply to Thread
Results 1 to 7 of 7

Create a drop down list based on the value in a cell

Hybrid View

  1. #1
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    This works but how do I duplicate it?

    This works absolutely beautifully. I think I may be a little dense. How do I duplicate it, I could only find this VBA code in the workbook:
    
    Sub VBAReferences()
    
      Dim Ref As Object
      Dim Refs As Object
      Dim VBproj As Object
      
        Set VBproj = ThisWorkbook.VBProject
        Set Refs = VBproj.References
        
          For Each Ref In Refs
            N = Ref.Name
            D = Ref.Description
            P = Ref.FullPath
            T = Ref.Type
          Next Ref
            
    End Sub


    How do I duplicate your drop downs? I can't see how to set them the way you have. Sorry to not get it...

    Thanks.

    Veronica

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello vjboaz,

    Sorry about the VBA code. That was a answer to another post. Forgot to remove it. The worksheet uses only validation drop downs and named ranges. Click on the drop down > Data > Validation... to see the references to the named ranges.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    08-30-2007
    Location
    Orlando, Florida
    MS-Off Ver
    MS Excel 2007
    Posts
    50

    Thanks - it works like magic

    Thanks so much... it was the reference code that kind of confused me.

    It works perfectly.

    Veronica

  4. #4
    Registered User
    Join Date
    10-25-2013
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Create a drop down list based on the value in a cell

    6 years ago! I hope you're still reading these! I'm so close to getting this right on my own spreadsheet, but when I create the list and input the source =INDIRECT(ListName), I get an error: "The Source currently evaluates to an error. Do you want to continue?" Can you help me fix this?

    ameyzing1

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Drop Down list within a drop down list.
    By nomad3rider in forum Excel General
    Replies: 4
    Last Post: 11-01-2011, 08:53 AM
  2. Making cell values correspond with Drop down List values
    By jrcream in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2008, 03:14 AM
  3. Dynamic Drop Down List...with Criteria
    By TimE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2008, 11:43 AM
  4. Create an outcome based on two Cell Entries
    By quasifun in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 11-27-2007, 10:30 AM
  5. How to create a vlookup to work with a drop down list
    By Breezey in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-07-2007, 04:24 PM

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