+ Reply to Thread
Results 1 to 3 of 3

refresh pivots only

  1. #1
    Forum Contributor
    Join Date
    12-02-2010
    Location
    USA
    MS-Off Ver
    Excel 365 and sometimes excel 2013
    Posts
    172

    refresh pivots only

    hi, i have a query in my file and several pivot tables. after the query is run i want to just refresh the pivots. if i use ActiveWorkbook.RefreshAll it refreshes the query again. Is there a command to just refresh the pivot tables and not the query connection?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: refresh pivots only

    Hi charliec,

    If you click on a pivot table and then use the Pivot Table Tools, I believe you can refresh that single pivot table you have selected.

    If you are writing VBA you can certainly refresh a single or many Pivot Tables without refreshing other information.

    When you say "I have a query in my file", did you mean you have a Power Query that pulls in other data before the Pivot table is produced?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    12-02-2010
    Location
    USA
    MS-Off Ver
    Excel 365 and sometimes excel 2013
    Posts
    172

    Re: refresh pivots only

    the query is a direct link to an external database so it's like an OBDC database connection. i need to get the data from the database connection and then refresh pivots. then i add soem manual info adn refresh the pivots again, but not the database connection. i may just have to do it one pivot table at a time.

+ 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 All - need to hit it twice to really update all pivots
    By Leszczur in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-06-2020, 09:11 AM
  2. [SOLVED] automatically refresh all pivots
    By esbencito in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2018, 07:26 AM
  3. Refresh All screws up my pivots
    By jsibley5 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-09-2017, 06:27 PM
  4. Macro to refresh SQL queries and refresh pivots
    By lora2014 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2016, 04:45 PM
  5. [SOLVED] VBA To Refresh ALL Pivots
    By Miskondukt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2014, 08:40 PM
  6. Not able to refresh all my pivots
    By ronnyl in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 06-25-2013, 09:50 AM
  7. Faulty refresh on Pivots
    By Shoeey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2007, 05:04 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