I have a password userform that runs, however I want to diable the alt+tab key until the user enters the correct password, I have the form modal but don't want them to be able to see what else is open.
I tried the following code when my macro runs but it doesn't work.
Application.OnKey...