XL97: Preventing UserForm from Being Dismissed with Close Button (166341)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q166341 SUMMARY
When you run 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.
REFERENCES
For more information about using the QueryClose event, click the Office
Assistant, type queryclose, click Search,
and then click to view the "QueryClose Event" 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:
120802 Office: How to Add/Remove a Single Office Program or Component
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming kbui KB166341 |
---|
|