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: 8
Default remove subtotals from pivot tables

I am trying to generate a pivot table from a set of data but I want to be
able to run this at any time so the obvious solution would be a macro. I
recorded the macro and checked the radio button for subtotals = none which
brought up the following code:
ActiveSheet.PivotTables("PivotTable5").PivotFields ("Charge Week").Subtotals
= Array(False, False, False, False, False, False, False, False, False, False,
False, False)

Is there a better way of doing this other than an array such as Subtotals=
none or something like that as I assume that the array will alter depending
on certain criteria?
 
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
Percentages of Subtotals for Pivot Tables Craig Excel Discussion (Misc queries) 2 July 26th 08 07:32 PM
Formulas using Subtotals in Pivot Tables Danie Excel Discussion (Misc queries) 0 September 11th 07 01:42 PM
Subtotals in Pivot Tables Fred Smith Excel Worksheet Functions 3 February 23rd 07 02:19 AM
add option in pivot tables to remove subtotals for fields epsoanalyst Excel Worksheet Functions 1 February 16th 06 09:26 PM
Pivot Tables- Total the Subtotals? Irenerz Excel Worksheet Functions 1 June 14th 05 07:19 PM


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