+ Reply to Thread
Results 1 to 6 of 6

How to clear the Pivot Table in VBA?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149

    How to clear the Pivot Table in VBA?

    Instead of clearing all the current fields in a pivot table one by one, is there a code to clear all the fields all at once?

    If the fields are cleared one by one, if user edits the pivot table, the code will produce an error if such field is not added to the table.

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149
    Must be a difficult topic.

    Does anyone have any clue or tips?

  3. #3
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149
    bump.

  4. #4
    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
    You could look at the pivot section here

    http://www.contextures.com/tiptech.html

    and the examples from the same site.

    http://www.contextures.com/excelfiles.html#Pivot

    Sure you will find something you can use

    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 !!!

  5. #5
    Forum Contributor
    Join Date
    08-30-2007
    Location
    Vancouver, B.C.
    Posts
    149
    thanks for your help.

  6. #6
    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
    If you found a solution would you add it. May help someone else with the same problem one day

    VBA Noob

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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