+ Reply to Thread
Results 1 to 5 of 5

Macro To Perform same Advanced Filter on Different Worksheets in Workbook

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    Accra, Ghana
    MS-Off Ver
    Excel 2013
    Posts
    61

    Lightbulb Macro To Perform same Advanced Filter on Different Worksheets in Workbook

    Hello guys,

    i have advanced filter activated on the sheet August which i have recorded a macro with and assigned to a button.
    Now, my problem is, i want the same macro to do the same filter for the other sheets "September, October..." instead of having to record another macro for each sheet.

    And I'll like the filter to update automatically as more data is added to the table.

    Thanks in advance,...I have attached the excel sample sheet..macro for workbook.xlsm

  2. #2
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Macro To Perform same Advanced Filter on Different Worksheets in Workbook

    Please Login or Register  to view this content.
    When you create a new sheet for the next month, always link your macro button to the same code (GetBAs).

  3. #3
    Registered User
    Join Date
    05-30-2012
    Location
    Accra, Ghana
    MS-Off Ver
    Excel 2013
    Posts
    61

    Re: Macro To Perform same Advanced Filter on Different Worksheets in Workbook

    Thanks a million @djdjdj this worked fine...

    Yes, and another thing, if u study the sample sheet, i was trying to countblanks in cell J4 (COUNTBLANK($C$4:$C$118)) but i want to do this based on a criteria that it only counts blanks when there is a name/text in column B (B4:B118).

  4. #4
    Forum Moderator Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Macro To Perform same Advanced Filter on Different Worksheets in Workbook

    Your last question is completely out of what you were asked for. You need to start a new thread for this.

    In the meantime

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

    Not marking your thread as SOLVED, is not an Option. Is violation of rule#9 of our Forum Rules.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    05-30-2012
    Location
    Accra, Ghana
    MS-Off Ver
    Excel 2013
    Posts
    61

    Re: Macro To Perform same Advanced Filter on Different Worksheets in Workbook

    I know all of that my network was just messing with me...Thanks though.

+ 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. advanced filter - button to re apply advanced filter across multiple sheets
    By motmac87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2013, 11:16 PM
  2. VBA/Macro - Advanced Filter Separating Data into Different Worksheets
    By Dame9255 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-18-2011, 03:51 PM
  3. Perform same task on all worksheets in workbook
    By markrennolds in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2010, 09:52 AM
  4. Advanced Filter from 2 separate worksheets
    By stevedes7 in forum Excel General
    Replies: 4
    Last Post: 12-28-2009, 12:20 AM
  5. [SOLVED] Macro to perform Advanced Filtering
    By Spencer Hutton in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-23-2005, 09:07 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