Article ID: 183520
Article Last Modified on 6/17/2005
APPLIES TO
- Microsoft Excel 98 for Macintosh
This article was previously published under Q183520
SYMPTOMS
If you use the QueryClose event in a Microsoft Visual Basic for
Applications macro to control a UserForm, the UserForm may still be visible
after you close it.
CAUSE
The UserForm may still be visible after you close it if the macro for the
QueryClose event uses the Show method to display another UserForm.
RESOLUTION
To resolve this problem, unload the UserForm in the QueryClose event macro
before you display another UserForm. The "More Information" section in this
article contains information about implementing this solution.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
REFERENCES
For more information about UserForms, click the Office Assistant in the
Visual Basic Editor, type
userform, click
Search, and then click to view the "Creating a UserForm" topic.
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Excel Help is not installed on your
computer, please see the following article in the Microsoft Knowledge Base:
176476
OFF: Office Assistant Not Answering Visual Basic Questions
Additional query words: XL98
Keywords: kbbug kbnofix kbprogramming KB183520