+ Reply to Thread
Results 1 to 2 of 2

Activate a filter using multiple Data Validation drop down lists

  1. #1
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Activate a filter using multiple Data Validation drop down lists

    I've been searching all over the Internet and I can't find a definitive answer about whether or not a VBA advanced filter can be activated via the values in one or more data validation list dropdowns.

    I currently have the following code but it doesn't work based on the DV lists at all no matter how I modify it. It does run without error and does filter to one specific record each time but doesn't change at all no matter what the DVs are set to. Along with this, I should say that I would also like to make it so the filter icons do not show up on the column headers. If there is any way to tell them to not display, that would be great too.

    Please Login or Register  to view this content.
    B3 is the location of the first data validation list and D3 is the location of the 2nd one. I want these to be dynamic so the dropdowns can be changed and then they just push a button to run the above macro to change the current filter to whatever is in the DV dropdown cells. If the filter can be activated just by changing the data selected in the DV, I would consider that the best case scenario if it's at all possible.

    Yes, I already know that I could just use the filter from the Home > Editing menu.

    Thanks for your help!
    -------------
    Tony

  2. #2
    Forum Contributor BeachRock's Avatar
    Join Date
    11-01-2011
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    403

    Re: Activate a filter using multiple Data Validation drop down lists

    I finally found it. This works perfectly combined with appropriate macros to set and remove filters, and insert or delete selected rows. Filters can be activated from one criteria, the other, or both of them together OR many of one column and of all of the others if you choose to go that far to build it out.

    http://www.youtube.com/watch?v=LRDTWDuTSNY
    Attached Files Attached Files
    Last edited by BeachRock; 10-11-2013 at 12:59 AM.

+ 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] Data Validation using multiple dependent drop down lists
    By ceruppel in forum Excel General
    Replies: 4
    Last Post: 12-17-2012, 06:39 PM
  2. [SOLVED] Widen drop down validation lists for multiple columns
    By aaanenson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2012, 10:07 AM
  3. Drop down based on multiple validation lists
    By projectile in forum Excel General
    Replies: 9
    Last Post: 11-17-2011, 11:11 PM
  4. data validation and drop down lists
    By LewR in forum Excel General
    Replies: 3
    Last Post: 03-14-2006, 02:55 PM
  5. Data Validation - Drop down lists - if then?
    By Steve R in forum Excel General
    Replies: 2
    Last Post: 04-08-2005, 02:06 PM

Tags for this Thread

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