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: 4
Default Stopping pivot tables automatically calculating

I would like to use vb to set data item properties to visible or hidden -
along these lines:

For i = 2 To j
ActiveSheet.PivotTables("PivotTable3").PivotFields ("Invoice
Date").PivotItems.Item(i).Visible = False
Next

At the end of each loop the table recalculates - is there any way of
stopping this so that the recalculation only happens once all of the items
have been changed?

Conversely, is there a simple way of displaying all of the items in the
pivot table? (Equivalent to clicking on the down arrow, and ticking the box
that says "(show all)")
 
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
calculating variances in pivot tables smw2340 Excel Discussion (Misc queries) 3 April 30th 08 11:04 AM
Calculating from values in pivot tables Owen Peck Excel Worksheet Functions 3 September 13th 07 03:31 PM
Calculating in Pivot Tables Teresa Excel Discussion (Misc queries) 2 July 18th 06 07:18 PM
Calculating fields in pivot tables kosciosco Excel Discussion (Misc queries) 2 June 6th 06 02:45 PM
Calculating percentages in pivot tables on subtotals David Ruderman - Chapman University Excel Worksheet Functions 1 November 24th 05 04:54 PM


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