The security level setting affects the following items:
- Microsoft Visual Basic for Application (VBA)
macros
- COM add-ins
- Smart tags
- Smart Documents
- Extensible Style sheet Language (XSL) documents
In 2003 Office programs, a component checks all files of these
types. If the macro security is set to High, running scripts is disabled. If
the macro security is set to Medium, the user is asked whether to run script in
these files. If macro security is set to Low, the script is run.
Note Exceptions to the security settings are as follows:
- Microsoft Office FrontPage 2003 ignores the settings when
you open XSL files. FrontPage 2003 always disallows scripts from being run in
the context of XSL transforms.
- Microsoft Office Word 2003 runs XSL scripts regardless of
the security setting if the XSL file is digitally signed, and that signer is
trusted.
- Microsoft Office Excel 2003 runs trusted templates and
add-ins when the Trust all installed add-ins and templates
check box is selected. This includes files in the XLSTART directory.
Office 2003 programs
To locate the security level setting for macros in an Office 2003 program, follow these steps:
- On the Tools menu, click Options.
- Click the Security tab, and then click Macro Security.
2007 Office programs
To locate the security level setting for macros in a 2007 Office program, follow these steps:
- Click the Microsoft Office Button.
- Click Office product name Options, and then click Trust Center.
Note In this step, product name is the name of the Office program in which you are verifying the security level setting. - Click Trust Center settings, and then click Macro Settings.
In the 2007 Office programs, the security level settings are simplified by comparison with the settings in Office 2003 programs. The macro security settings are as follows:
- Disable all macros without notification
- Disable all macros with notification
- Disable all macros except digitally signed macros
- Enable all macros
Note We do not recommend that you use this option. This option can enable potentially dangerous code to run.