+ Reply to Thread
Results 1 to 3 of 3

Schedule Macro to refresh 10 Workbooks every Sunday

  1. #1
    Forum Contributor
    Join Date
    11-03-2014
    Location
    Belgrade
    MS-Off Ver
    2010
    Posts
    348

    Schedule Macro to refresh 10 Workbooks every Sunday

    Hello guys,

    I have 10 excel workbooks which are connected on warehouse database (ODBC connection). I know to make these excel files to refresh on open or every 5h, but I need schedule refresh every Sunday at 4 PM for example.
    Is it possible to do this with some macro within excel or there is some better solution?


    Thanks in advance.
    Last edited by toci; 03-23-2017 at 07:54 AM.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Schedule Macro to refresh 10 Workbooks every Sunday

    Personally I would make a book with on open code that opens the workbooks that need refreshing (which refresh themselves on open?), then close them again. Then use the task scheduler in windows to open that workbook on sundays at 4 pm.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Contributor
    Join Date
    11-03-2014
    Location
    Belgrade
    MS-Off Ver
    2010
    Posts
    348

    Re: Schedule Macro to refresh 10 Workbooks every Sunday

    Can you help me with this?

+ 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. Replies: 0
    Last Post: 06-21-2015, 09:40 PM
  3. 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
  4. Refresh only a specific workbook and not other workbooks.
    By punitjoshi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2013, 02:25 AM
  5. Need macro to open, refresh, save, close 50 workbooks in a folder.
    By paulcg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2012, 09:23 AM
  6. Replies: 1
    Last Post: 03-13-2011, 07:16 AM
  7. 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

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