LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Temporarily Disable/Cancel pivottable refresh

I'm adding cubefields through vba code and everytime a field is added, the
pivottable is refreshed. Well, I don't want this to happen all the time.

It doesn't seem like I can use pt.PivotCache.EnableRefresh = False because
then the pt.cubefields.orientation method fails. (I'd use the addfields
method to all mostly all of them at once, but I think that you can't if
working with an OLAP source)

msdn says PivotCache.BackgroundQuery is disabled for OLAP sources..
otherwise that might have worked.
http://msdn.microsoft.com/library/en...HV05199459.asp

Any ideas?
Thank you!!
 
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
How do I temporarily disable hyperlinks in an excel sheet? looloof Setting up and Configuration of Excel 1 December 2nd 07 01:47 PM
Possible to turn off graph refresh temporarily? [email protected] Charts and Charting in Excel 1 May 5th 07 12:59 PM
Temporarily Disable Autocorrect Sloth Excel Discussion (Misc queries) 5 February 7th 07 04:24 PM
temporarily disable on-load virus scan TommySzalapski[_39_] Excel Programming 0 August 4th 05 07:21 PM
disable pivottable refresh message andrewCH Excel Programming 0 November 12th 03 10:29 AM


All times are GMT +1. The time now is 05:07 AM.

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"