+ Reply to Thread
Results 1 to 2 of 2

using VBA to update a pivot table data source

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    brisbane, australia
    MS-Off Ver
    Excel 2013
    Posts
    91

    using VBA to update a pivot table data source

    Hi, I am a newbie to VBA trying to learn more but at the moment I am just doing basic macros. I have created a simple pivot table and started with basic data for week ending 25/5/2015. I added a button and assigned a macro to it so when I add the new sheet to the workbook named 01/06/2016 or 08/06/2015 and click on the button it will update the pivot table to the current sheet I want. This is just a basic example as I need to do this with a bigger pivot table but with the same concept. Any guidance will be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: using VBA to update a pivot table data source

    I am not exactly sure what you are trying to accomplish since the model is so simple but I would suggest asking google, because this has been answered plenty of times.

    http://www.thespreadsheetguru.com/th...a-source-range
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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 Auto Update Data Source?
    By Ket in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2020, 02:05 PM
  2. Changing data source to update pivot table
    By jonesli in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-07-2014, 01:48 AM
  3. Update source data from pivot table
    By bryanbak3 in forum Excel General
    Replies: 0
    Last Post: 01-12-2012, 05:28 PM
  4. [SOLVED] can I use a pivot table and update my source data (like Hyperion)
    By AK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2006, 02:55 PM
  5. update the underlying data source of a pivot table
    By Ben Hall in forum Excel General
    Replies: 1
    Last Post: 12-07-2005, 03:35 AM

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