Access 2003-Backup & Exit Database macro

Orson9750

Registered User.
Local time
Today, 09:26
Joined
Mar 9, 2009
Messages
41
I am using Access 2003. I am having trouble searching the internet for help on creating a backup and exit macro. Can someone help me?

Thanks
 
you might want to try this code:
Code:
dbengine.compactdatabase "current db full path", _
   "full path of the new db"

application.quit
 
Thanks much for your quick reply. I will let you know how it works for me. Again thanks:)
 

Users who are viewing this thread

Back
Top Bottom