XL98: Show Method Fails with Passed Arguments (184380)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q184380 SYMPTOMS
If you use the Show method with one of the built-in Microsoft Excel dialog
boxes, you may receive the following error:
Run-time error '1004':
Show method of Dialog class failed
CAUSE
This problem may occur when both of the following conditions are true:
- The constant you use for the built-in dialog box is new to Microsoft
Excel 98.
-and-
- You attempt to pass an argument to the dialog box by using the Show
method.
RESOLUTION
To resolve this problem, do not pass any arguments when you are using a
constant that is new to Microsoft Excel 98 and you are using the Show
method.
STATUS
This behavior is by design of Microsoft Excel 98.
REFERENCES
To find more information about built-in constants in Microsoft Excel 98,
follow these steps:
- In the Visual Basic Editor, display the Object Browser (On the View
menu, click Object Browser).
- In the list of libraries, click Excel.
- Type xldialog in the box below the
list of libraries, and then press RETURN.
The list of built-in dialogs is displayed in the Search Results pane.
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbprb kbProgramming KB184380 |
---|
|