Auto Execute MS Access Macro with Windows Scheduler

  • Thread starter Thread starter JA
  • Start date Start date
J

JA

The Windows scheduler opens the MS Access application.
How can I get it to run a specific macro? Please help.
 
The Windows scheduler opens the MS Access application.
How can I get it to run a specific macro? Please help.
call this specific macro autoexec
 
If you call the macro AutoExec, it will run whenever the database is opened,
manually or automatically.

If you call the macro MyMacro, set the following command in Windows
Scheduler:

"C:\FullPathToAccess\msaccess.exe" "C:\FullPathToDatabase\database.mdb" /x
MyMacro

HTH,

Kevin
 

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

Similar Threads

Scheduled Task 2
Help with vba autorunning macro? 2
help with scripting 2
AutoExec Macros 3
Access and Excel 3
schedule a macro with /x not working 2
Open Web page with MS Access macro 1
Schedule macro 1

Back
Top