+ Reply to Thread
Results 1 to 3 of 3

VBA to remove all sub-totals in Pivot Table Fields

  1. #1
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    VBA to remove all sub-totals in Pivot Table Fields

    I want a macro i can run on a selected Pivot table, to set all pivot table field sub-totals to "None".
    Excel has no default setting that i am aware of to set sub-totals to none, before or after creating a pivot table. Without individually selecting each field and setting to none.

    The next level would be to show all feilds in a combo box, and select any or all to set to nothing etc.

    Any help would be appreciated.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if link helps

    http://www.contextures.com/xlPivot03.html#Subtotals

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255
    Just what i needed, thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Pivot Table - Few complicated queries
    By acsishere in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-04-2008, 05:08 PM
  2. switching layout of Calculated Fields in Pivot Table
    By torlok2002 in forum Excel General
    Replies: 3
    Last Post: 05-06-2008, 09:15 AM
  3. Pivot table and totals calculation of columns
    By mb_user in forum Excel General
    Replies: 1
    Last Post: 08-10-2007, 02:18 AM
  4. pivot Table -Calculated fields
    By sach0025 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2007, 11:38 AM
  5. Complex calculated fields in pivot table
    By TimKT in forum Excel General
    Replies: 1
    Last Post: 04-01-2007, 05:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1