+ Reply to Thread
Results 1 to 2 of 2

Update source data for multiple pivot tables on same worksheet

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    71

    Question Update source data for multiple pivot tables on same worksheet

    I am using the code below to update pivot tables in my workboook with new source data. This works great, but some of my worksheets have multiple pivot tables on them. The code below will update only the first pivot table on each worksheet. Can someone help me refine this macro in order to update worksheets that have more than one pivot table, while also moving on to update pivot tables on the other worksheets? (EX. update all pivot tables in the workbook with new source data, even if there is more than one pivot table per worksheet).

    Additionally, to keep my file size small, should I be working with pivot cache and update my pivot tables that way? Any advice and sample code would be great.

    Please Login or Register  to view this content.
    Thanks for the help!
    Last edited by JosephP; 03-19-2013 at 05:20 AM. Reason: add code tags

  2. #2
    Registered User
    Join Date
    10-17-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    71

    Re: Update source data for multiple pivot tables on same worksheet

    I just discovered that when I update the pivot tables on other worksheets with new source data, it adds the new data to the existing pivot table and retains the old information too. I am wanting to completely update the pivot tables with only the new source data and have the existing pivot data removed. Not sure if this is also a caching issue.

+ 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