XL2000: Preventing UserForm from Being Dismissed with Close Button (213713)
The information in this article applies to:
This article was previously published under Q213713 SUMMARY
When you create a UserForm, a Close button is added to the upper-right corner of the UserForm window. To prevent a user from closing the UserForm with the Close button, use the QueryClose event of the UserForm.
REFERENCESFor more information about using the QueryClose event, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type queryclose 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: | kbdtacode kbhowto kbProgramming kbui KB213713 |
---|
|