Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default PivotTable Events?

I need to run some code whenever a PivotTable's data cache is updated but I
don't see any events associated with this. Am I missing something?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default PivotTable Events?

how is the cache updated? if its done by code, then you can just add the
pivot's refresh method

if the data cache is a table of data on another sheet, then you could use
that sheet's Change event to refresh the pivot cache



"Mitch Powell" wrote in message
...
I need to run some code whenever a PivotTable's data cache is updated but
I
don't see any events associated with this. Am I missing something?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default PivotTable Events?

The PivotTable is linked to an MS Access table and is updated manually by the
user using the "Refreash Data" command on te Data menu.

"Patrick Molloy" wrote:

how is the cache updated? if its done by code, then you can just add the
pivot's refresh method

if the data cache is a table of data on another sheet, then you could use
that sheet's Change event to refresh the pivot cache



"Mitch Powell" wrote in message
...
I need to run some code whenever a PivotTable's data cache is updated but
I
don't see any events associated with this. Am I missing something?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default PivotTable Events?

there is a pivot event fired by an update ... i can't access a database just
now, but if the database link is refreshed, surely the pivot table
refreshes?

Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)

End Sub

"Mitch Powell" wrote in message
...
The PivotTable is linked to an MS Access table and is updated manually by
the
user using the "Refreash Data" command on te Data menu.

"Patrick Molloy" wrote:

how is the cache updated? if its done by code, then you can just add the
pivot's refresh method

if the data cache is a table of data on another sheet, then you could use
that sheet's Change event to refresh the pivot cache



"Mitch Powell" wrote in message
...
I need to run some code whenever a PivotTable's data cache is updated
but
I
don't see any events associated with this. Am I missing something?


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default PivotTable Events?

Perfect. Thank you very much!

"Patrick Molloy" wrote:

there is a pivot event fired by an update ... i can't access a database just
now, but if the database link is refreshed, surely the pivot table
refreshes?

Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)

End Sub

"Mitch Powell" wrote in message
...
The PivotTable is linked to an MS Access table and is updated manually by
the
user using the "Refreash Data" command on te Data menu.

"Patrick Molloy" wrote:

how is the cache updated? if its done by code, then you can just add the
pivot's refresh method

if the data cache is a table of data on another sheet, then you could use
that sheet's Change event to refresh the pivot cache



"Mitch Powell" wrote in message
...
I need to run some code whenever a PivotTable's data cache is updated
but
I
don't see any events associated with this. Am I missing something?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a PivotTable w/o selecting data in an existing PivotTable Damian Excel Discussion (Misc queries) 6 November 2nd 07 04:44 PM
do events? background events cereldine[_15_] Excel Programming 1 April 12th 06 01:06 PM
How does one get the PivotTable report info that feeds another PivotTable report? Toby Erkson[_3_] Excel Programming 0 December 14th 04 10:00 PM
PivotTable - PivotTable Field name is not valid - error! miker1999[_17_] Excel Programming 1 June 10th 04 10:30 AM
Creating a PivotTable Report from an Another PivotTable Report bcpaulus Excel Programming 1 January 8th 04 07:56 PM


All times are GMT +1. The time now is 03:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"