+ Reply to Thread
Results 1 to 2 of 2

Auto Update Data excel Task Schedule

  1. #1
    Registered User
    Join Date
    12-11-2014
    Location
    New York
    MS-Off Ver
    office 2010
    Posts
    71

    Auto Update Data excel Task Schedule

    Hey guys,
    This is a tricky one.

    I work with a certain spreadsheet that needs data updates every hour. I am able to set the windows task scheduler to open the spreadsheet every hour, and was able to enable the option to automatically refresh the data every time it opens. What I cant get windows to do is to save the spreadsheet and close it. can I do this with a macro? and if so I do not want my spreadsheet top open save and close when I open it manually to make edits. Only when the task scheduler opens it.

    Thanks,

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Auto Update Data excel Task Schedule

    I have so many reports that I need to run using the task scheduler that I had to set up a system to mass produce them. The following article explains the system I use. Basically I copy a template script to a descriptive file name such as Run XYZ.xlsm. Then I "fill in the blanks" in Run XYZ.xlsm. One of the lines the script produces is the program string to copy and paste into the task scheduler. So the task scheduler runs the script which in turn runs the macro in the target report.

    Make sure the script and the target report are in trusted locations. I keep all my scripts in one directory and my reports are in sub-folders in a report directory.

    http://www.utteraccess.com/wiki/inde...a_Macro_to_Run

+ 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. Auto update excel spreadsheet with stock data
    By dalewms3 in forum Excel General
    Replies: 0
    Last Post: 02-28-2015, 10:01 PM
  2. [SOLVED] Create Schedule Task in windows 7 to Open Excel file
    By Faridwahidi in forum Excel General
    Replies: 2
    Last Post: 08-17-2014, 09:02 PM
  3. Excel data auto update from .dbf file
    By avk in forum Excel General
    Replies: 1
    Last Post: 12-14-2012, 03:10 AM
  4. create daily schedule using master task schedule
    By DCO in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2012, 01:08 PM
  5. Replies: 2
    Last Post: 04-13-2012, 01:16 PM
  6. Spreadsheet to schedule a task
    By dannycelluk in forum Excel General
    Replies: 6
    Last Post: 04-06-2012, 05:01 AM
  7. Schedule Excel to Update
    By pepe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2005, 10:05 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