How to quit from ACCESS

rickyfong

Registered User.
Local time
Today, 15:43
Joined
Nov 25, 2010
Messages
199
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!!
 
application.Quit
 

Users who are viewing this thread

Back
Top Bottom