"Cannot Open Add-In" Error When You Run a Macro (162407)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
This article was previously published under Q162407 SYMPTOMS
When you run a Visual Basic for Applications macro in Microsoft Excel 7.0
or Microsoft Excel 97, you may receive one of the following error messages:
Run-time error '1004':m
Cannot open Microsoft Excel Add-In for editing. Please edit the source
document instead.
Run-time error '1004':
Cannot open Microsoft Excel 97 Add-In for editing. Please edit the
source document instead.
CAUSE
This problem occurs if the following conditions are true:
- The macro you are running opens a Microsoft Excel add-in file (a .xla
file).
-and-
- You run the macro using a shortcut key that includes the SHIFT key.
For example, you press the following keystroke:
WORKAROUND
To work around this problem, do not assign a shortcut key that includes the
SHIFT key to any macro that opens any type of file.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kberrmsg KB162407 |
---|
|