So I have an MSAccess MDB that needs to open other MDB\'s and run a bunch of code that will compare two Access MDB\'s to find code differences,query diffs,etc. The goal bein
Another option: do a rename of the autoexec macro in your VB code.
OpenCurrentDatabase ("Your database")
DoCmd.Rename "Autoexec", acMacro, "tmp_Autoexec"
CloseCurrentDatabase
After you've done your action do a rename back to autoexec again ... et voila....