How do I set a macro to run every 24 hours

M

Michael

I need to set a macro to run at a set time every day. I am using a database
to collect information from an external source. I am not at this computer
every day, and the information that I am retrieving is deleted every day. If
I don't get the information, it is lost. Is it possible to write a code to
make the macro run at a set time every day?
 
D

Douglas J. Steele

Use the Scheduling tool that's built into Windows, and pass it a command
line along the lines of:

"C:\Program Files\Office\msaccess.exe" "C:\Data\MyDatabase.mdb" /x MyMacro
 
A

Albert D. Kallal

Michael said:
I need to set a macro to run at a set time every day. I am using a
database
to collect information from an external source. I am not at this computer
every day, and the information that I am retrieving is deleted every day.
If
I don't get the information, it is lost. Is it possible to write a code
to
make the macro run at a set time every day?

I explain a possible solution here:

http://www.members.shaw.ca/AlbertKallal//BatchJobs/Index.html
 

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