J
John M
I am writing a batch job (the old way with DOS) to open 6 different
Access databases and run a macro in each one. In the bat file, I used the
command line documented in the Access 2002 Help.....
"C:\Program Files\Microsoft Office\Office10\msaccess.exe"
c:\foldername\database1.mdb /x macroname
"C:\Program Files\Microsoft Office\Office10\msaccess.exe"
c:\foldername\database2.mdb /x macroname
etc for 6 databases
The macro ran for the first database but the batch job terminated when
Access closed after running the macro. How can I return control back to the
batch job so it runs the macro in the other databases?
Access databases and run a macro in each one. In the bat file, I used the
command line documented in the Access 2002 Help.....
"C:\Program Files\Microsoft Office\Office10\msaccess.exe"
c:\foldername\database1.mdb /x macroname
"C:\Program Files\Microsoft Office\Office10\msaccess.exe"
c:\foldername\database2.mdb /x macroname
etc for 6 databases
The macro ran for the first database but the batch job terminated when
Access closed after running the macro. How can I return control back to the
batch job so it runs the macro in the other databases?