Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am always amazed at how I can't find answers to the simplest
questions. I am loading a userform. The form has the normal "close" box in the upper right corner. It appears that if that box is clicked, the form unloads. This can cause some problems with my later program flow. I have an "exit" box on the form itself, but that lets me run some code. How do I capture the event where the user clicks the "x" to close the form? I have events like workbook_beforeclose but I can't find a similar event for a form. Alternatively, how do I eliminate the close box from the form, so that the user has to click on "exit?" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to get userform Cancel button to invoke Exit Sub in calling macro? | New Users to Excel | |||
userform cancel button | Excel Programming | |||
Userform SetFocus with Exit and Cancel | Excel Programming | |||
Cancel a Procedure through a Userform | Excel Programming | |||
Cancel Button on Userform | Excel Programming |