When you open a database with VBA code in it, you will get a Security Warning if it is not in a trusted location. Click Options..., Enable this Content, OK.
To set the location of the database so that it will be trusted, click Office Button, Access Options, Trust Center (Left), Trust Center Settings..., Trusted Locations.
If your permissions allow, check "Allow Trusted Locations on my network" if necessary, then Add new location, and select the folder where your database resides.