+ Reply to Thread
Results 1 to 7 of 7

Refresh queries in other workbooks

  1. #1
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    144

    Refresh queries in other workbooks

    Curious......is there a way to refresh queries in another workbook using VBA?

    Just wanted to know before I put too much energy delving into this.....

  2. #2
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,377

    Re: Refresh queries in other workbooks

    There certainly is!

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    144

    Re: Refresh queries in other workbooks

    Wow! I almost cursed with joy. JEC....this may be the finest VBA trick so far. You just saved me hundreds of hours every month!

    Thanks a million!

  4. #4
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,377

    Re: Refresh queries in other workbooks

    LOL you're welcome! Cheers!

  5. #5
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    144

    Re: Refresh queries in other workbooks

    Sorry JEC but one quick question. Can the Close procedure by halted until the Refresh is completed? The workbook closes before the complete refresh is done......

  6. #6
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,377

    Re: Refresh queries in other workbooks

    Try to set enable background refresh to False.
    You can find it in the query properties

  7. #7
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    144

    Re: Refresh queries in other workbooks

    that didn't work. But I will keep looking....thanks

+ 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. 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
  2. [SOLVED] Refresh Specific Web Queries
    By dhd2005 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2015, 12:38 PM
  3. Refresh Web Queries In Multiple Workbooks
    By al888 in forum Excel General
    Replies: 1
    Last Post: 03-14-2011, 08:25 PM
  4. Refresh Web Queries In Multiple Workbooks
    By al888 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2011, 08:24 PM
  5. How can I refresh all the Queries on a Worksheet?
    By hammerhead13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2008, 01:07 PM
  6. Replies: 0
    Last Post: 07-25-2006, 11:30 AM
  7. Refresh queries, graphs, and charts
    By Dale Fye in forum Excel General
    Replies: 1
    Last Post: 04-01-2005, 04:06 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