+ Reply to Thread
Results 1 to 5 of 5

Before Pivot Table Changes Event

  1. #1
    Registered User
    Join Date
    04-29-2017
    Location
    London
    MS-Off Ver
    2016 Professional
    Posts
    50

    Before Pivot Table Changes Event

    Hello All


    I am trying to execute some code before a pivot table changes as result of a slicer selection, filter being applied / changed or similar

    There are multiple pivot tables on the worksheet and I am only interest when pivot table called "emphols_pvt" changes. Currently I have been unable to achieve this. I have placed a copy of the code I am using below. I would welcome any advice.



    Please Login or Register  to view this content.
    Last edited by rabbit_post; 01-11-2019 at 01:26 PM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Before Pivot Table Changes Event

    Is your PivotTable based on Excel Range/Table? Or is it based on OLAP data model?

    If it's based on Range/Table, then this event isn't triggered as it's used only for OLAP based pivot, when updating data cube.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    04-29-2017
    Location
    London
    MS-Off Ver
    2016 Professional
    Posts
    50

    Re: Before Pivot Table Changes Event

    It is based on an Excel Table

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Before Pivot Table Changes Event

    Ok, what is it you are trying to do here?

    It would help, if you can upload sample workbook.

    If not, then load your Excel Table to Get & Transform, and then from there to Data Model. This will allow Pivot to use OLAP model as source and will trigger the event.

  5. #5
    Registered User
    Join Date
    04-29-2017
    Location
    London
    MS-Off Ver
    2016 Professional
    Posts
    50

    Re: Before Pivot Table Changes Event

    Thank you CK for the advice.

    I have decided to redesign the layout of the spread sheet to eliminate the need to catch when the pivot table changes

+ 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. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  2. Replies: 1
    Last Post: 07-29-2015, 05:19 PM
  3. Replies: 1
    Last Post: 07-29-2015, 05:15 PM
  4. Pivot table Filter event
    By haissk in forum Excel General
    Replies: 2
    Last Post: 07-10-2014, 08:45 AM
  5. Pivot Table data sort by both personell and event
    By chambone2000 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-04-2014, 03:54 AM
  6. [SOLVED] Complex challenge with trapping Pivot Table Update event - help please!
    By Mallycat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2013, 12:47 AM
  7. [SOLVED] Pivot Table - Trigger event on drill down
    By Martyn Upson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2005, 12:05 PM

Tags for this Thread

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