I've written a macro to export information to a spreadsheet and then to quit Access. I've also written a batch file to execute a shortcut to launch the macro. The batch file is as follows: d:\datar\studt\storoh.mam
The batch file launches the macro fine and the macro closes the Acess window fine, but at that point an error message pops up on screen:
Cannot find the file 'd:\datar\studt\storoh.man' (or one of its components), Make sure the path and filename are correct qand that all required libraries are available
It is as if the batch file did not expect the macro to close the application. Is there a switch or command that I need to put in the batch file or in the macro to have the macro close and the batch file quit gracefully?
The batch file launches the macro fine and the macro closes the Acess window fine, but at that point an error message pops up on screen:
Cannot find the file 'd:\datar\studt\storoh.man' (or one of its components), Make sure the path and filename are correct qand that all required libraries are available
It is as if the batch file did not expect the macro to close the application. Is there a switch or command that I need to put in the batch file or in the macro to have the macro close and the batch file quit gracefully?