+ Reply to Thread
Results 1 to 6 of 6

Apply filter across multiple worksheets

  1. #1
    Registered User
    Join Date
    12-29-2012
    Location
    Turkey
    MS-Off Ver
    Excel 2003
    Posts
    9

    Apply filter across multiple worksheets

    Hi
    this solution can't run on Excel 2010 only take an effect for first sheet. can any one help me please?

    edit:

    how can I create common filter for all sheets on Excel 2010 workbook? fist column on all sheets are same name and same type value.
    thanks.
    Last edited by jeffreybrown; 12-30-2012 at 10:21 AM. Reason: Added link and moved thread

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: Apply filter across multiple worksheets

    Hi,

    Welcome to the forum.
    You can manually set the filters in each worksheet.
    But, I do not think that's what you want.
    Can you provide info as to your request?
    A workbook example would help.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Apply filter across multiple worksheets

    In the attached thread, a solution was provided by the OP. This code loops through all sheets. unless the rest of the code would not do what you are after.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    12-29-2012
    Location
    Turkey
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Apply filter across multiple worksheets

    Hi Charles & AB33,
    I could not do it in this video sample with Excel 2010. when I run the macro, this macro take an filter effect for only the first sheet, but rows in other sheets are not filtered.
    what is wrong?
    can anyone explain this example step-by-step on Excel 2010 please?
    thanks.

  5. #5
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: Apply filter across multiple worksheets

    Hi,

    The code provided should work. I tested it.
    I created the worksheets with several names including "Aaron".
    If you attach a workbook we may be able to help you better.
    I'm including a code that does not use a protection and it too works for me.

    Please Login or Register  to view this content.
    These code should work with the 2010 version.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Apply filter across multiple worksheets

    On the attached Video, there are two columns of data in all sheets. The column field is Column "A" and the criteria is "H". There are names in column "A" and are filetred by "H". All names which begin with H are filtered.
    I think it is most likely that you are not using, or filtering the right column, but the code loops through all sheets.

+ 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