CurrentProject.IsTrusted Property

Access Developer Reference

Gets whether or not macros and Visual Basic for Applications (VBA) code have been enabled in the current project. Read-only Boolean.

Version Information
 Version Added:  Access 2007

Syntax

expression.IsTrusted

expression   A variable that represents a CurrentProject object.