+ Reply to Thread
Results 1 to 3 of 3

How do I avoid having to Refresh All twice?

  1. #1
    Registered User
    Join Date
    01-07-2022
    Location
    Seattle, Washington
    MS-Off Ver
    2019
    Posts
    2

    How do I avoid having to Refresh All twice?

    I created an Excel file to be used as a template for an Excel export from a vendor database application.
    When I run this export, it fills in the data.
    I have three queries pulling from this data export.
    In the Worksheet, I have two pivot tables and one graph reading from these queries.

    In order for the pivot tables and graphs to refresh based on the export, I have to Refresh All twice.
    I assume I have to do it twice because of the cascading data sequence.

    When I create a macro button for this, I am not able to replicate the manual process of Refresh All twice.
    Instead, I still have to press the macro button twice.

    Is there a way to alter the code, so a user only has to press the macro button once?

    Please Login or Register  to view this content.
    I even tried calling this function twice, but it doesn't work.
    Please advise.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How do I avoid having to Refresh All twice?

    Hi and welcome to the forum,

    Difficult to test without any data but perhaps

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-07-2022
    Location
    Seattle, Washington
    MS-Off Ver
    2019
    Posts
    2

    Re: How do I avoid having to Refresh All twice?

    Thank you, Richard for the response. I was not able to make it work. However, I am including another file with the data intact.
    Attached Files Attached Files

+ 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. Avoid PowerQuery refresh from deleting empty columns
    By Barslund in forum Excel General
    Replies: 10
    Last Post: 01-10-2018, 04:19 AM
  2. Macro to refresh Essbase data sets, display refresh date?
    By nellaneb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2014, 03:59 PM
  3. Replies: 2
    Last Post: 09-29-2013, 06:15 AM
  4. Replies: 1
    Last Post: 09-28-2013, 07:11 PM
  5. [SOLVED] Using VBA to change a pivot table filter, refresh the report and set up a refresh delay
    By Bonnister in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-18-2012, 10:43 AM
  6. Enable Auto Refresh - Wait for refresh to sinish before running a macro
    By tomlancaster in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2011, 11:52 AM
  7. [SOLVED] How do you avoid window that prompts to enable auto query refresh
    By Peter_EZEM in forum Excel General
    Replies: 3
    Last Post: 01-23-2006, 03:20 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