Applescript+Excel+Pivot Table
July 12, 2007 8:57 AM   RSS feed for this thread Subscribe

Applescript + Excel . How to suppress subtotals for a field in a pivot table?

Given a generic pivot table with row fields A, B and C and data field D, I want to be able to hide the subtotals in the row fields (equivalent to double-clicking the header and selecting "None").

According to Microsoft's reference guide, there is no option for "None." However, I can't even get one of the listed options to work. The example given on page 240 of the reference guide generates an error message. The following command does absolutely nothing:

set subtotals pivot field "A" of pivot table 1 of active sheet subtotal index average subtotal

Google seems to think that nobody has ever wanted to do such a thing.
posted by cdavis to computers & internet (2 comments total)
Oh, I'm using Excel 2004 and Applescript 1.10.7 (OS X 10.4.10).
posted by cdavis at 9:14 AM on July 12, 2007


I can't help, but I'm sure someone on Mr Excel would be able to - just in case you haven't come across this resource already.
posted by paduasoy at 2:43 AM on July 15, 2007


« Older Is there a way to market a toy...   |   is my cat depressed?... Newer »

You are not logged in, either login or create an account to post comments



Related Questions
Pivot Tables for Dummies? September 8, 2008
Is there an easy way to break pivot table rows or... August 20, 2008
"Sum of Total Cost" is redundant; I said "Total",... July 28, 2008
PivotTableFilter January 13, 2006
Pivot Tables in Excel August 10, 2005