This
error usually occurs because of macro security settings. If you know that the
macro comes from a source that you trust, you can change your macro security
settings to allow you to enable the macro. The way that you change your macro
security settings depends on the Microsoft Office System program that you are
using.
·
Microsoft
Office Access, Microsoft Office Excel, Microsoft Office PowerPoint, or
Microsoft Office Word --
To check your macro security settings, click the Microsoft Office Button, click <program name> Options, click Trust Center, and then click Trust Center Settings.
To check your macro security settings, click the Microsoft Office Button, click <program name> Options, click Trust Center, and then click Trust Center Settings.
·
If
macro security is set to Disable all macros without notification, all
macros are automatically disabled. Use the following procedure to enable the
macro.
1.
In
the Trust Center dialog box, click Macro Settings, and then click
Disable all macros with notification.
2.
Click
OK in the Trust Center dialog box to apply the new setting. Click OK
to close the program options dialog box.
3.
Close
the file and the Microsoft Office program that you are using.
4.
Open
the file again. A Security Alert appears in the Document Information Bar
just below the ribbon. Click Enable Content to allow the macro to run.
5.
When
you have enabled the macro, it is recommended that you return the macro
security setting to Disable all macros without notification.
·
If
macro security is set to Disable all macros with notification, but you
selected Disable when prompted by the macro warning dialog when you
opened the file, use the following procedure to enable the macro.
1.
In
the Trust Center dialog box, click Cancel. Click Cancel to
close the program options dialog box.
2.
Close
the file and the Microsoft Office program that you are using.
3.
Open
the file again. A Security Alert appears in the Document Information Bar
just below the ribbon. Click Enable Content to allow the macro to run.
·
If
macro security is set to Disable all macros except digitally signed macros,
the macro may not have been digitally signed. Verify that you can trust the
macro before using the following procedure to allow it to run.
1.
In
the Trust Center dialog box, click Cancel. Click Cancel to
close the program options dialog box.
2.
Close
the file and the Microsoft Office program that you are using.
3.
Open
the file again. A Security Alert appears in the Document Information Bar
just below the ribbon. Click Enable Content to allow the macro to run.
·
Microsoft Office Outlook, Microsoft Office Visio, or Microsoft Office Publisher --
To check your macro security settings, on the Tools menu, click Trust Center, and then click Macro Security.
Microsoft Office Outlook, Microsoft Office Visio, or Microsoft Office Publisher --
To check your macro security settings, on the Tools menu, click Trust Center, and then click Macro Security.
·
If
macro security is set to No warnings and disable all macros, all macros
are automatically disabled. Use the following procedure to enable the macro.
1.
In
the Trust Center dialog box, click Warnings for signed macros; all unsigned
macros are disabled, and then click OK.
2.
Close
the file and the Microsoft Office program that you are using.
3.
Open
the file again. When prompted, click Enable Content to allow the macro
to run. If you are using Visio, the Enable Content button appears as
part of a Security Alert in the Document Information Bar. If you are not
prompted to enable the macro, or if you receive this error again, the macro may
not be digitally signed. Verify that you can trust the macro. If you are
certain that you can trust the macro, use the next procedure below to enable
the macro.
4.
When
you have enabled the macro, it is recommended that you return the macro
security setting to No warnings and disable all macros.
·
If
macro security is set to Warnings for signed macros; all unsigned macros are
disabled, the macro may not be digitally signed. If you are certain that
you can trust the macro, use the following procedure to enable the macro.
1.
In
the Trust Center dialog box, click Warnings for all macros, and
then click OK.
2.
Close
the file and the Microsoft Office program that you are using.
3.
Open
the file again. When prompted, click Enable Content to allow the macro
to run. If you are using Visio, the Enable Content button appears as
part of a Security Alert in the Document Information Bar.
4.
When
you have enabled the macro, it is recommended that you return the macro
security setting to Warnings for signed macros; all unsigned macros are
disabled.
·
Microsoft Office Project --
To check your macro security settings, on the Tools menu, click Macro, and then click Security.
Microsoft Office Project --
To check your macro security settings, on the Tools menu, click Macro, and then click Security.
·
If
macro security is set to Very High, use the following procedure to
enable the macro.
1.
In
the Security dialog box, click High, and then click OK.
2.
Close
the file and Microsoft Office Project.
3.
Open
the file again. When prompted, click Enable Content to allow the macro
to run. If you are not prompted to enable the macro, or if you receive this
error message again, the macro may not be digitally signed. Verify that you can
trust the macro. If you are certain that you can trust the macro, use the next
procedure below to enable the macro.
4.
When
you have enabled the macro, it is recommended that you return the macro
security setting to Very High.
·
If
the macro security setting is set to High, the macro may not be
digitally signed. If you are certain that you can trust the macro, use the
following procedure to enable the macro.
1.
In
the Security dialog box, click Medium, and then click OK.
2.
Close
the file and Microsoft Office Project.
3.
Open
the file again. When prompted, click Enable Content to allow the macro
to run.
4.
When
you have enabled the macro, it is recommended that you return the macro
security setting to High.
This error may also occur for the following reasons:
·The certificate of
trust that is attached to the macro is invalid. Unless you are certain that the
macro is safe, it is recommended that you not trust or run the macro.
·The certificate is no
longer trusted, was revoked by the issuing authority, or is damaged. Unless you
are certain that the macro is safe, it is recommended that you not trust or run
the macro.
·Visual Basic for
Applications (VBA) is not installed on your computer. In this case, no VBA
macro can be run, regardless of whether the macro has a valid certificate of
trust. You or your administrator may have chosen not to install VBA, or the
version of Microsoft Office that you are using may not install VBA by default.
If your version of Microsoft Office does not provide VBA as an installable
feature, you can upgrade to a version that provides VBA support.
·If you are unable to
change the security settings, it is possible that another program has locked
the security settings. Close all Microsoft Office System programs, then restart
your program and change the security settings.