Microsoft introduced a new feature in Access 2007 which tells access to only run certain commands if the database is “trusted”.
Many people first meet this when they have converted a database froma previous version, then are surprised when the converted database does not run as expected.
Here is a quick guide on how to get your database trusted by Access.
- Open the database holding the shift key down
- Click on the “Office button” (top left hand corner) and select “Access Options” (bottom right of menu)
- Select “Trust Center” from the left hand menu
- Click “Trust Center Settings” (Right middle of window)
- Select “Trusted Locations” from the “Trust Center” menu
- Select “Add new location” (Bottom of window)
- And add the location (folder, directory) of the database that you are trying to open.
- Close and re-open the database.





Security is not the only reason that Access 2007 does not run VBA code. I have no idea what the other reasons are, but have a macro attached to a click event, and for some reason Access does not run the macro when clicked. It will do it if I add a new record. I have not found any bug report which covers this.