XL97: Menu Editor and Make Add-In Dialog Boxes Cause Error (160489)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q160489 SYMPTOMS
When you run a Microsoft Visual Basic for Applications macro in Microsoft
Excel, you receive the following error message
Run-time error '1004':
Show method of Dialog class failed
and the macro halts.
CAUSE
This error message occurs when the Visual Basic macro uses Application.Dialogs to display either of the following dialog boxes:
For example, the problem occurs when the macro contains either of the
following commands:
Application.Dialogs(xlDialogMenuEditor).Show
Application.Dialogs(xlDialogVbaMakeAddin).Show
These dialog boxes are not available in Microsoft Excel 97 or later.
Modification Type: | Major | Last Reviewed: | 6/18/2005 |
---|
Keywords: | kbdtacode kbprb KB160489 |
---|
|