+ Reply to Thread
Results 1 to 30 of 30

Master Filter Sheet to Filter All Sheets

Hybrid View

  1. #1
    Forum Contributor sauerj's Avatar
    Join Date
    11-11-2009
    Location
    Lafayette, IN
    MS-Off Ver
    Excel 2019
    Posts
    163

    Re: Master Filter Sheet to Filter All Sheets

    mtm70, Sorry, I can't help you much. Too busy. The old code was intended for Excel2003. You want it to work for Excel2007/10. The problem is that Excel2003 only had 6 "operators" and Excel2007/10 has 11 "operators" and can accommodate arrays for the criterias. Try recording a macro where you select 3 check box options from the filter drop down, and you will see how criteria1 is an array and the operator = xlFilterValues (7). The code needs to be adjusted for these new options. Hope you can take it from here or solicit someone else to help. Sorry, just can't help at this time.

  2. #2
    Registered User
    Join Date
    12-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Talking Re: Master Filter Sheet to Filter All Sheets

    No problem!

    That's a brilliant idea thought. I will let you know if it works. I really appreciate you getting back to me

  3. #3
    Forum Contributor sauerj's Avatar
    Join Date
    11-11-2009
    Location
    Lafayette, IN
    MS-Off Ver
    Excel 2019
    Posts
    163

    Re: Master Filter Sheet to Filter All Sheets

    mtm70, Modified & attached altered worksheet that (I think) will work for you. The lines numbered 101-103 & 110 are the altered lines. The fix involved dealing with the expanded version of 'operator' and using [IsEmpty()] instead of [= ""] to work with arrays for the "Criteria1" variable. Holler back if this doesn't work for you. sauerj
    FilterSheets(2012-12-15).xls

  4. #4
    Registered User
    Join Date
    12-11-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Master Filter Sheet to Filter All Sheets

    Wow - that is perfect!

    Thanks again for your help, you've made my day!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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