+ Reply to Thread
Results 1 to 2 of 2

Change on Pivot Table Filter

  1. #1
    Registered User
    Join Date
    06-19-2013
    Location
    Sheffield
    MS-Off Ver
    Excel 2013
    Posts
    86

    Change on Pivot Table Filter

    Hello,

    I'd like to know if there is a way to make Excel feel the change of a cell value.
    In particular the cell value I'm referring to, is the cell that displays the Pivot filter value.
    I want to "do something" when I change the value of the Pivot filter (B1) but unluckily the Change seems to work only if the cell value is edited manually (typed).

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$B$1" Then

    Do Something

    End If
    End Sub

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,938

    Re: Change on Pivot Table Filter

    Use this worksheet event:

    Please Login or Register  to view this content.
    Note well, though, that Target in this case is not a range (as in most events) but is the pivottable that is being changed.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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 Pivot Table Filter from Value in a Cell
    By andyboles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2016, 02:05 PM
  2. Replies: 6
    Last Post: 07-31-2014, 12:56 PM
  3. VBA to change pivot table filter
    By Nmarkit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2013, 09:44 AM
  4. 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
  5. 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
  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. Userform to change Pivot Table filter
    By MGT2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2009, 12:02 PM

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