Quit the application

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
 
G

Guest

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.
 
G

Guest

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top