Execute Macro from batch file

M

Mike

I created a batch file:
REM - delete the file on disk
del c:\payor.rtf
START "C:\Program Files\Microsoft Office\Office11\msaccess.exe" "S:\
Access_DB\CMSI_batch_Reporting.mdb" /x "PAYOR - Assignment - Generate report
/ Email"
EXIT
(Note: the Start line is all on one line)
The problem is that it opens Access and navigates to the macro but does not
execute it.

Thanks...
 

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