Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
closing form when pressing escape key
Please, Any one help me in closing the form when the key escape is pressed
I tried applicaton on key but doesn"t close it (I tried onkey ecape botton to open form and it works well. I don't know why it did't work with closing form) thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
closing form when pressing escape key
Place a button on the form with the code "Unload Me" in it, the set the
"Cancel" property of the button to true. This will fire that button event if the Esc key is pressed. HTH -- Charles Chickering "A good example is twice the value of good advice." "Khaled" wrote: Please, Any one help me in closing the form when the key escape is pressed I tried applicaton on key but doesn"t close it (I tried onkey ecape botton to open form and it works well. I don't know why it did't work with closing form) thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Closing a Form | Excel Discussion (Misc queries) | |||
Unloading / closing a form with the escape key | Excel Programming | |||
form closing with the X | Excel Programming | |||
Pressing Enter/Tab to go next question in a form | Setting up and Configuration of Excel | |||
HELP! - Closing form | Excel Programming |