I would like to execute a vba module (backup module) at a specific day and time. Is this possible?
Asked
Active
Viewed 164 times
1 Answers
1
The easiest way - schedule a task using Winsows Scheduler. In task you should start MSACCESS.EXE with full path to your accb file and /x MyMacro
for starting a macro MyMacro, which should start backup process. For instance:
msaccess.exe "c:\MyFolder\MyDatabase.accdb" /x MyMacro

Sergey S.
- 6,296
- 1
- 14
- 29