Documente Academic
Documente Profesional
Documente Cultură
SYMPTOMS
In one of the 2007 Microsoft Office programs that are listed in the "Applies
to" section, w hen you try to run a macro that is contained in an encrypted Office Open XML file, such as an
.xlsm file, a .docm file, or a .pptxm file, the macro does not run as expected. This behavior does not occur
for files that are saved in the "Microsoft Office 97 - 2003" file format.
Note An encrypted file is a file that you protect by using any of the follow ing methods:
CAUSE
Also, macros may be disabled in the file by the security settings in the program. If macros are disabled by
the security settings, you receive the following error message w hen you try to open the file: Security
Alert Macros have been disabled .
To enable the macros, click Options , click Enable this content, and then click OK. How ever, if you enable
the macros, the behavior that is mentioned in the "Symptoms" section still occurs.
Security Alert This file contains encrypted macros that have been disabled because there is no antivirus
softw are installed that can scan them. To run these macros, remove the encryption or permission
restrictions on this file. File Path: <path and name of file> Help protect me from unknown content
(recommended) <More information> Prevent encrypted macros from being scanned for viruses.
The 2007 Office release provides several settings that enable you to prevent encrypted macros from being
scanned for viruses. This is useful if your virus-scanning program does not support the Microsoft Antivirus
application programming interface (API).
By default, macros are encrypted w hen you encrypt and save a file in the Office Open XML file formats. If
your virus-scanning program does not support the Microsoft Antivirus API, your virus-scanning program
cannot scan encrypted macros. Therefore, encrypted macros w ill be disabled.
RESOLUTION
To resolve this behavior, install 'The 2007 Microsoft Office Suite Service Pack
2 (SP2) which can be downloaded from the Microsoft Dow nload Center at
http://ww w .microsoft.com/dow nloads/details.aspx?displaylang=en&FamilyID=b444bf18-79ea-46c6-8a81-
9db49b4ab6e5 (http://w w w.microsoft.com/dow nloads/details.aspx?displaylang=en&FamilyID=b444bf18-
79ea-46c6-8a81-9db49b4ab6e5)
W ORKAROUND
http://support.microsoft.com/kb/927150 1/2
12/01/2011 A macro that is contained in an encryp…
own discretion. Use this workaround at your ow n risk.
To w ork around this issue, disable antivirus scanning on encrypted files that contain macros. To do this,
follow these steps:
APPLIES TO
Keywords: kberrmsg kbapi kbantivirus kbtshoot kbexpertisebeginner kbprb KB927150
Microsoft Support
©2011 Microsoft
http://support.microsoft.com/kb/927150 2/2