Article ID: 820739 - Last Review: January 11, 2006 - Revision: 2.4 You receive an error message when you open a workbook that contains XLM macros in Excel 2003
For a Microsoft Excel 2002 version of this article,
see
291206
(http://support.microsoft.com/kb/291206/EN-US/
)
. For a Microsoft Excel 2000 version of this article,
see
230889
(http://support.microsoft.com/kb/230889/EN-US/
)
. Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows Registry On This PageSYMPTOMS When you try to open a workbook, you receive the following
error message: This workbook cannot be opened under High
Security Level because it contains a type of macro (Microsoft Excel 4.0 macro)
that cannot be disabled or signed. To open this workbook, click Macro on the
Tools menu, then click Security. In the Security dialog box, click Medium.
CAUSE This problem occurs when the following conditions are true:
RESOLUTION To resolve this issue, you must add a key to the registry
that allows Excel to run XLM macros when the macro security level is set to
High. To do this, follow these steps: WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
MORE INFORMATION After you add the XLM key to the registry, you cannot disable XLM macros. This section
of this article describes the behavior of Excel after you add the XLM key to the registry. The Workbook Contains XLM CodeWhen you open a workbook that contains XLM macro code, you are prompted with the following message:Filename contains macros. Macros may contain viruses. It is usually safe to disable macros, but if the macros are legitimate, you may lose some functionality. This workbook contains a type of
macro (Microsoft Excel 4.0 macro) that cannot be disabled. There may be viruses
in these macros. If you are sure this workbook is from a trusted source, click
Yes. Open the workbook? The Workbook Contains XLM Code and Visual Basic for Applications CodeWhen you open a workbook that contains both XLM code and Visual Basic code, you may receive the following message: This
workbook contains a type of macro (Microsoft Excel 4.0 macro) that cannot be
disabled. There may be viruses in these macros. If you are sure this workbook
is from a trusted source, click Yes. Open the workbook?
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
