+ Reply to Thread
Results 1 to 2 of 2

Refresh PivotTable and source Table (table source from Query itself)

  1. #1
    Registered User
    Join Date
    11-05-2020
    Location
    Chicago
    MS-Off Ver
    2016 / Office 365
    Posts
    18

    Refresh PivotTable and source Table (table source from Query itself)

    I'm sure this will be an easy solution for the experts on here...I have a Table in Sheet 1 called "Table1" and a pivot in Sheet 2 called "PivotTable". "Table1" is the data source for "PivotTable" and uses a query to pull data from other sheet/table.
    What VBA can I write to assign to a macro to refresh both the PivotTable and Table1 while I am on Sheet 2? ( I don't need the other tables to update, only Table1 and the PivotTable.)

    Thanks in advance for anyone taking the time to answer this 😃😃

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: Refresh PivotTable and source Table (table source from Query itself)

    Suggest you create a macro for the specific tables/PTs you wish to refresh using the Macro Recorder. If you then have any issues, post your VBA here with an explanation of what is not working for you.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] Refresh pivot table automatically when source data changes
    By carlito2002wgn in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-01-2020, 01:06 PM
  2. [SOLVED] Refresh Pivot Table Automatically when Source Data Changes
    By SirMaceOne in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2019, 02:32 AM
  3. Replies: 1
    Last Post: 11-12-2018, 02:46 PM
  4. Error PivotTable External Data Source With Linked Table
    By goss in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 05-29-2014, 11:38 PM
  5. Can't Refresh Pivot Table When Using External Data Source
    By yenping.fu in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-02-2014, 06:24 AM
  6. [SOLVED] Summary table updated from source table. Source table held in a different workbook
    By dma1976 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-22-2013, 11:36 AM
  7. Replies: 0
    Last Post: 12-05-2012, 03:48 PM

Tags for this Thread

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