+ Reply to Thread
Results 1 to 2 of 2

Call Macro On Pivot Table Filter Change

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    Oregon
    MS-Off Ver
    Excel 2010
    Posts
    29

    Call Macro On Pivot Table Filter Change

    Hello guru's, hope you can help. I have a pivot table where I would like to call a macro when I change the value of the pivot table filter. The macro I want to run modifies the pivot table so I can't do a worksheet change event or pivot table change event. The pivot table filter value is in cell B1.

    Thank you for your help.

    Matt Vosburg

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,912

    Re: Call Macro On Pivot Table Filter Change

    Use the Worksheet_PivotTableUpdate event and then disable events in your macro to avoid calling the event again while the macro is running:

    Please Login or Register  to view this content.
    Rory

+ 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. Change Chart Pivot series Colour depending from Pivot Table Filter value
    By BrianAll in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-30-2018, 02:20 PM
  2. Replies: 6
    Last Post: 07-31-2014, 12:56 PM
  3. VBA Macro to change filter on a pivot table
    By BobbyH in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-16-2013, 03:40 AM
  4. Pivot table, assigning a cell wo be change the Pivot table filter
    By jwongsf in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2012, 05:00 PM
  5. Call Code on Pivot Table Filter Change
    By alexjp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2012, 02:47 PM
  6. Change Pivot table Filter Based on Cell Value *Multiple Filter items* Possible?
    By Flydd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-27-2012, 06:57 AM
  7. Change pivot filter based on call value in various sheets
    By dalew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-06-2011, 01:12 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