We help IT Professionals succeed at work.
Get Started

Access 2013 Macro command "QuitAccess" not working as expected

Last Modified: 2020-01-15
I have an Access 2013 small application that I plan to schedule to run at night.  I have a batch file that starts Access and runs a Macro.  That macro runs several custom functions on some tables and exports their results to csv files.  The last part of the Marco is the command "QuitAccess"  

Everything runs correctly, however, On the QuitAccess command, the database is closed but the Access application remains up and running.

I made the location of this access database a Trusted location but it still does not close the application.

Am I missing another piece to this?
Watch Question
President / Owner
Most Valuable Expert 2017
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE