+ Reply to Thread
Results 1 to 4 of 4

Second Data filter hides all rows

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Second Data filter hides all rows

    Attached file gives End User option of choosing two criteria (Airport and Date) in cells on the "Extract" sheet, which filter the Table on the Database sheet, leaving only the two rows showing that match both elements, which the next stage of the Code will copy to row 4 downward on the Extract sheet.

    "Filter" code works perfectly on first stage matching the airport. But the second stage, which should then hide the two rows not matching the Date, hides ALL the rows except the Header.

    Please Login or Register  to view this content.
    (And yes, I am aware the End User can simply use the inbuilt filter on the table itself to achieve this, but this is the way they want to do it.)

    Hopefully someone can see where I am going wrong?

    All suggestions, recommendations and solutions welcome as ever, as the principle has to be cascaded across fourteen criteria in the "real" sheet!

    Ochimus
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Second Data filter hides all rows

    Here thanks to Ozgrid is a working solution

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Second Data filter hides all rows

    xladept,

    Apologies for not thanking you sooner for the prompt reply. RL in the way.

    Will try this out this evening, and hopefully it will resolve the issue.

    Ochimus

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Second Data filter hides all rows

    Yeah, who would have thought the date filter wouldn't work for the equal situation?

    Thanks for the rep!

+ 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] Speed Up Macro that Hides Rows
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-24-2015, 03:20 PM
  2. Macro hides the wrong rows and is too slow
    By Marvelous in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-30-2014, 05:01 PM
  3. [SOLVED] Combo box that hides all rows except for selected value
    By svalentine91 in forum Excel General
    Replies: 2
    Last Post: 11-21-2013, 02:55 PM
  4. VBA that hides rows with 0 takes FOREVER to run
    By Sky188 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-28-2013, 04:04 PM
  5. How to make my macro delete rows? It currently hides the rows instead of deleting.
    By Majkataxmk in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-20-2010, 01:14 PM
  6. macro that hides rows run slow
    By yoav_b in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-15-2007, 11:16 AM
  7. Replies: 12
    Last Post: 09-12-2005, 01:05 AM

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