Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
For more information about encrypted files and the scanning of encrypted content in the 2007 Microsoft Office programs, click the following article number to view the article in the Microsoft Knowledge Base:
927150 A macro that is contained in an encrypted Office Open XML file does not run in 2007 Office programs
To work around this issue, disable antivirus scanning on encrypted files that contain macros. To do this, follow these steps:
Exit the 2007 Office programs.
Click Start, click Run , type regedit , and then click OK .
Locate and then click the registry subkeys provided below:
On the Edit menu, point to New , and then click DWORD Value .
Type the following value name on the registry subkey that you clicked in step 3, and then press ENTER: ExcelBypassEncryptedMacroScan
Right-click the DWORD value that you created in step 4, and then click Modify .
In the Value data box, type 1 , and then click OK .
On the File menu, click Exit to exit Registry Editor.
Note The steps above should not be used after Office 2007 SP2 has been installed. This registry information is also provided in the '2007 Microsoft Office Security Guide', but that documentation was created prior to the release of the Office 2007 Service Pack 2.