Macro Execution from Windows Scheduler

T

TomT

I have some large queries that need to be run off hours. I have setup a
macro to run them all.

How can I trigger the execution of this macro from windows scheduler?

Thanks,

TomT
 
S

Steve Schapel

Tom,

Set the Command Line in the task scheduler like this:

"C:\Program Files\...\Msaccess.exe" "C:\YourFolder\YourDatabase.mdb" /x
NameOfYourMacro
 
T

TomT

Steve,

Thanks!!! Works like a champ.

TomT

Steve Schapel said:
Tom,

Set the Command Line in the task scheduler like this:

"C:\Program Files\...\Msaccess.exe" "C:\YourFolder\YourDatabase.mdb" /x
NameOfYourMacro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top