+ Reply to Thread
Results 1 to 3 of 3

VBA for Dynamic Dependent Drop Down Data Validation Lists

  1. #1
    Forum Contributor
    Join Date
    07-21-2018
    Location
    London, England
    MS-Off Ver
    Excel for Mac Version 16.15
    Posts
    117

    VBA for Dynamic Dependent Drop Down Data Validation Lists

    Hello!

    Does anyone know a way of creating dynamic/dependant drop down data validation lists with vba? E.g a data validation list in one cell will differ depending on what is in another cell.

    I know this is possible with formulas and source tables etc. but I really want to avoid cluttering my workbook with source tables - i'd like it to all work behind the scenes with code!

    I'd really appreciate any help or suggestions!

    Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: VBA for Dynamic Dependent Drop Down Data Validation Lists

    Dead easy.

    Lets say you're using a specific cell value to define contents of the drop down. Access that cell by:

    Please Login or Register  to view this content.

    In between the if and end if is where you define the contents of your dropdown. Look here for a detailed example:
    https://trumpexcel.com/extract-data-...rop-down-list/

  3. #3
    Forum Contributor
    Join Date
    07-21-2018
    Location
    London, England
    MS-Off Ver
    Excel for Mac Version 16.15
    Posts
    117

    Re: VBA for Dynamic Dependent Drop Down Data Validation Lists

    Hello! Thanks for your reply. Although this article refers to extracting data from data validation lists, not how to create dynamic data validation lists so won't work for me.

+ 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. [SOLVED] Validating the Validation (Data Dependent Drop Down Lists)
    By The_Snook in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-19-2016, 09:13 AM
  2. [SOLVED] Dynamic dependent data validation lists
    By gak67 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2014, 06:21 PM
  3. Replies: 2
    Last Post: 09-07-2013, 03:55 AM
  4. [SOLVED] Dependent Drop Down Lists, Data Validation, Reset Dependents
    By daxlyon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2013, 11:15 AM
  5. [SOLVED] Dependent drop down lists- dynamic data range- excluding Headers
    By strud in forum Excel General
    Replies: 3
    Last Post: 05-28-2013, 04:10 AM
  6. [SOLVED] Dependent drop down lists based on dynamic data range
    By strud in forum Excel General
    Replies: 15
    Last Post: 04-19-2013, 08:08 AM
  7. [SOLVED] Data Validation using multiple dependent drop down lists
    By ceruppel in forum Excel General
    Replies: 4
    Last Post: 12-17-2012, 06:39 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