Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Closing a modeless dialog via "esc" key
Is it possible to close a modeless dialog via pressing the esc key when the
dialog no longer has the focus? Bob |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Closing a modeless dialog via "esc" key
Guess you'd need to Hook the keyboard, or maybe as you are only looking for
one particular key, look into RegisterHotKey. It would make a difference to the complexity if you need to trap a system-wide keypress or merely in a given window, say a workbook window. Plenty of examples around for VB6 but I'm don't know how safe, if at all, they'd be in VBA. Regards, Peter T "Bob Flanagan" wrote in message . .. Is it possible to close a modeless dialog via pressing the esc key when the dialog no longer has the focus? Bob |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
How to delete the "Insert Function Dialog Box" (dialog box only)? | Excel Worksheet Functions | |||
Scroll Bar missing "Control" tab in "Format Properties" dialog box | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
"Modeless" Message Boxes? | Excel Programming |