I got the following batch file command
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\COMMON\PRINTACCESS.MDB"
of which is to trigger a autoexec marco to print some table automatically. However, after print the last VBA is DOCMD.CLOSE. But it only quit to close the printaccess.MDB, leaving the user still in the ACCESS environment. Just want to know how to quit from ACCESS and let the user totally unknown any automatic process! Thanks a lot!!
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\COMMON\PRINTACCESS.MDB"
of which is to trigger a autoexec marco to print some table automatically. However, after print the last VBA is DOCMD.CLOSE. But it only quit to close the printaccess.MDB, leaving the user still in the ACCESS environment. Just want to know how to quit from ACCESS and let the user totally unknown any automatic process! Thanks a lot!!