Results 1 to 5 of 5
  1. #1
    kdbailey is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2012
    Posts
    228

    Automatically run macro overnight


    I would like to run an access macro overnight, the macro is set to a button click though. How can I set a windows scheduler to run this click at a specific time? The name of the macro is "Update".

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    I would change the name of the macro to autoexec and then it will run automatically. You can do this on a copy if desired. Alternatively I think there's a command line switch to run the macro, but I've never used it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    kdbailey is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2012
    Posts
    228
    Well I don't want it to auto run every time I open the database, so I'd rather not have it be an autoexec. I'd rather it be a prompted command through the task scheduler, I just don't really know how to do this.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Well, like I said you could use a copy for this. That said, look at command line switches in help. I believe there's a /macro or something like that.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    kdbailey is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2012
    Posts
    228
    I'll take a look.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 05-26-2012, 01:08 PM
  2. Replies: 1
    Last Post: 05-07-2012, 08:21 AM
  3. Replies: 2
    Last Post: 05-05-2012, 02:34 AM
  4. Replies: 0
    Last Post: 01-12-2011, 12:43 PM
  5. Replies: 3
    Last Post: 04-22-2010, 08:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums