Article ID: 168365
Article Last Modified on 10/22/2000
APPLIES TO
- Microsoft Excel 97 Standard Edition
This article was previously published under Q168365
SYMPTOMS
In Microsoft Excel 97, if you run a Visual Basic for Applications macro to
display the Macro Options dialog box, you may receive the following error
message:
This program has performed an illegal operation and will be shut down.
If the problem persists, contact the program vendor.
If you click Details, you receive an error message similar to the
following:
EXCEL caused an invalid page fault in module EXCEL.EXE at
0137:3003324b.
CAUSE
This problem occurs if the macro includes the following line of code:
Application.Dialogs(xlDialogMacroOptions).Show
WORKAROUND
Although it is not possible to programmatically display the Macro Options
dialog box, it is possible for a macro to control the settings in the
dialog box. For additional information, please see the following article in
the Microsoft Knowledge Base:
157108 XL97: Options not Available in Macro Options Dialog Box
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Additional query words: XL97
Keywords: kberrmsg kbprogramming kbprb KB168365