I have a program that I run nightly that was originally done in Access 2003. When I run it under Access 2013 or run it converted to an Access 2013 program I get the same message. Which is : The Command or Action 'Quit' isn't available now. I am using the docmd.quit to exit access altogether. I have moved the command to as many places as I think will access it to run but still get the same error message. It used to run fine. I have enabled macros to run from the trust center also. I am at a lost to know what to do to fix it. I am beginning to think that it is a problem in Access 2013 VBA. Any help would be greatly appreciated.