Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default refresh event pivot

I'd like to know simple code to trigger my code on a refresh or change event
on a pivot. Just not sure how to get it to activate..

thanks,

--
Regards,

Donica

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default refresh event pivot

If you are using XL2002 or better then there is a refresh table event in VBA.
In the sheet with the pivot table add this code...

Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)

End Sub

If you are using a version of XL prior to 2002 then there is no event and
you need to catch the calculate event or something similar which carries a
lot of overhead with it...
--
HTH...

Jim Thomlinson


"Donica" wrote:

I'd like to know simple code to trigger my code on a refresh or change event
on a pivot. Just not sure how to get it to activate..

thanks,

--
Regards,

Donica

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
Create refresh button in worksheet to refresh Pivot Table Data Ron Excel Worksheet Functions 1 October 13th 07 01:20 AM
refresh a new worsheet on pivot table refresh [email protected] Excel Worksheet Functions 0 February 9th 07 07:39 PM
Timing of automatic query refresh and macro pivot table refresh dutty Excel Programming 2 December 1st 04 07:19 PM
Pivot Table Refresh VBA Event keepitcool Excel Programming 0 October 6th 03 04:31 PM
Pivot Table REFRESH Flaw -- Saves Old Data in Selection Area AFTER REFRESH Ken Roberts Excel Programming 3 September 11th 03 06:02 AM


All times are GMT +1. The time now is 02:47 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"