Thread: Disable alt+tab
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ozgur Pars[_2_] Ozgur Pars[_2_] is offline
external usenet poster
 
Posts: 70
Default 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