Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable alt+tab
Hi,
I am trying to disable alt+tab so that the end user of a form can only exit the userform through submiting when hitting a button. why does this not work? Application.OnKey "%{TAB}", "" Thank you, Ozgur |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable alt+tab
Are you sure you want to do this? Alt-Tab is configured in the OS, and
it is used to help people get out of damage caused by badly written programs. Professional programs, like EXCEL itself, do not disable it. No matter how carefully crafted you program may be, there will always come a time that someone wants to back out of it. Hope this helps, Dom Ozgur Pars wrote: Hi, I am trying to disable alt+tab so that the end user of a form can only exit the userform through submiting when hitting a button. why does this not work? Application.OnKey "%{TAB}", "" Thank you, Ozgur |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Disable alt+tab
Dom you might be right maybe if there is a way I should try to make it
possible with a password. But I can't get it work right now... Thanks for the reply. Ozgur " wrote: Are you sure you want to do this? Alt-Tab is configured in the OS, and it is used to help people get out of damage caused by badly written programs. Professional programs, like EXCEL itself, do not disable it. No matter how carefully crafted you program may be, there will always come a time that someone wants to back out of it. Hope this helps, Dom Ozgur Pars wrote: Hi, I am trying to disable alt+tab so that the end user of a form can only exit the userform through submiting when hitting a button. why does this not work? Application.OnKey "%{TAB}", "" Thank you, Ozgur |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Disable # | Excel Discussion (Misc queries) | |||
Disable Alt+F11 | Excel Discussion (Misc queries) | |||
disable F1 | Excel Discussion (Misc queries) | |||
Disable the name box | Excel Programming | |||
Disable ALT KEY | Excel Programming |