XL98: Application Error Type 2 When You Assign Macro to Custom Menu Item (239926)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q239926 SYMPTOMS
When you assign a macro to a custom menu item, you may receive the following error message:
The application "Microsoft Excel" has unexpectedly quit, because an error of type 2 occurred. You should save your work in other open applications and restart the computer.
CAUSE
This problem occurs when you perform the following steps (in order):
- You assign a shortcut key to a macro.
- You press the shortcut key to run the macro.
- You assign the macro to a custom menu item.
WORKAROUND
To work around this problem, do not press the shortcut key to run the macro until after you assign the macro to the custom menu item.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
Although you can normally run the macro by using the shortcut key or custom menu item, if you use the shortcut key, and then create the custom menu item consecutively in a single instance of Microsoft Excel, you receive the error message.
Modification Type: | Major | Last Reviewed: | 9/11/2002 |
---|
Keywords: | kbbug KB239926 |
---|
|