Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Refresh Pivot Tables without refreshing functions

I have a worksheet with five pivot tables which are refreshed from a macro as
follows -
For Each pt In ActiveSheet.PivotTables
pt.RefreshTable
Next pt
The worksheet also has a lot of custom functions. The problem is that the
functions also refresh when the code line "pt.RefreshTable" runs. Is there a
way to refresh the pivot tables without running the functions?
Thanks
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Refresh Pivot Tables without refreshing functions

Wonderful,
Thanks Roger

"Roger Govier" wrote:

Hi Peter


Perhaps
Application.EnablEevents =False
your code
Application.EnableEvents=True
--
Regards
Roger Govier

"Peter D" <Peter wrote in message
...
I have a worksheet with five pivot tables which are refreshed from a macro
as
follows -
For Each pt In ActiveSheet.PivotTables
pt.RefreshTable
Next pt
The worksheet also has a lot of custom functions. The problem is that the
functions also refresh when the code line "pt.RefreshTable" runs. Is
there a
way to refresh the pivot tables without running the functions?
Thanks


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
Refreshing Pivot Tables Roger Converse[_2_] Excel Programming 1 November 20th 07 04:56 PM
Refreshing Pivot Tables hnyb1 Excel Discussion (Misc queries) 1 September 13th 07 01:21 PM
When refreshing pivot tables my pivot table chart type changes hannah220507 Excel Discussion (Misc queries) 1 May 22nd 07 02:57 PM
Refreshing Pivot Tables Lisa Excel Worksheet Functions 2 May 17th 07 04:19 PM
Refreshing pivot tables matpj[_47_] Excel Programming 0 March 20th 06 03:40 PM


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

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

About Us

"It's about Microsoft Excel"