Quit the application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all

I found a very nice way to hide the access application window on the web.

http://www.tek-tips.com/faqs.cfm?fid=2562

I created on my switchboard a command button, which should close the
application including Access, which is running in the background.
Unfortunately, if I do a "DoCmd.Quit" in VBA or a macro with "Quit", only the
my application closes, but not Access, which remains in the taskbar.

Has anybody an idea how I could close Access as well?

Kind regards,

Simon Minder
 
I know this is not part of your questions but you also may want to look into
using.

DoCmd.RunCommand acCmdAppMinimize

Not sure how it differs from the code listed but it seems to do the same and
with out as much code.
 
Hi Arvin,

Thank you very much for your quick response.

Unfortunately, it does not work. And I don't get an error message. The form
stays where it is and Access is remains in the tasbar.

Simon
 
Hi Krizhek,

Thank you very much for your quick response.

Unfortunately, it does not work. And I don't get an error message. The form
stays where it is and Access is remains in the tasbar.

Simon
 
Back
Top