Calling Access Macros
Moderators: Dorian (MJT support), JRL
Calling Access Macros
Currently we use Macro Scheduler to call a .bat file which in turn calls an MS Access macro. Is there a way to call the Access macro from Macro Scheduler and cut out the middle man (the .bat file)?
Thanks,
Josh
Josh
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
You can start Access and tell it to call a macro like this:
Access.exe path\database /x macroname
Example:
Alll of the info in the example is actually on one line, but may be broken where there is a space character.
Access.exe path\database /x macroname
Example:
Code: Select all
Run Program>C:\Program Files\Microsoft Office\Office11\MSAccess.exe C:\Program Files\Microsoft Office\Office11\Samples\Northwind.mdb /x macroname
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: