Microsoft Office Professional 2010 Step by Step eBook

(Ben Green) #1

758 Chapter 25 Explore an Access 2010 Database


Enabling Macros and Other Database Content
Some databases contain Microsoft Visual Basic for Applications (VBA) macros that
can run code on your computer. In most cases, the code is there to perform a
database-related task, but hackers can also use macros to spread a virus to your
computer.
When you open a database that is not stored in a trusted location or signed by a
trusted publisher, Access displays a security warning below the ribbon.

The security warning.
While the security warning is displayed, the macros in the database are disabled.
You can enable macros in three ways:
● By enabling the macros in the database for use in the current database session.
● By adding the database publisher to the list of trusted publishers. This option is
available only if the publisher’s digital signature is attached to the database.
Access will then automatically enable macro content in any database that is
also signed by that publisher.
● By placing the database in a trusted location. Access automatically enables
macro content in any database saved in that location. The trusted locations
you specify within Access are not also trusted by other Office programs.
To enable macros for the current database session only:
● In the Security Warning area, click Enable Content.
To add the publisher of a digitally signed database to the trusted publishers list:


  1. In the Security Warning area, click Some Active Content Has Been Disabled.
    Click For More Details.

Free download pdf