XL2000: UserForm May Not Be Closed Using QueryClose Event (213707)
The information in this article applies to:
This article was previously published under Q213707 SYMPTOMS
If you use the QueryClose event in a 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.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information about UserForms, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type UserForm in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbhowto kbpending kbProgramming KB213707 |
---|
|