+ Reply to Thread
Results 1 to 2 of 2

Data Validation

  1. #1
    Registered User
    Join Date
    08-29-2016
    Location
    hillsboro, NH
    MS-Off Ver
    11
    Posts
    4

    Data Validation

    I am trying to combine two separate source lists together so that when you click on the drop down they show as one list to choose from. I have a list of names in column A on SSLFirst and a list of names in column A on AuxFirst. Id like to be able to create a drop down that pulls all the names from both.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,925

    Re: Data Validation

    The attached workbook is set up to set the validation in Cell E2. This is determined by the code on Sheet 1 in the Selection_Change event. When you enter cell E2, this code is run and it calls the code in the modules to make the dropdown list for validation.

    Please Login or Register  to view this content.
    Put this code on whatever sheet has the dropdown box for the validation and change "E2" to the cell you want.

    Put the following code in a module. List_1 and List_2 are named ranges containing the two lists. I suggest you give your lists names and use them in the code in the place indicated.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  2. [SOLVED] Data Validation: How to clear/delete the content of the cell and not Data Validation List?
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 09:42 AM
  3. If statement based data validation? Dynamic data validation?
    By bjohnsonac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2014, 02:12 PM
  4. Replies: 4
    Last Post: 07-03-2014, 02:37 AM
  5. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  6. Adding Date Data Validation to cells with List Data Validation
    By biggtyme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2013, 09:47 AM
  7. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 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