-
Stop user from pressing CTRL + BREAK
Hi, I have a login script that doesn't allow the user to close the userform, however the user can still use CTRL + BREAK to stop the login script and there is NO "login".
I have googled and found that I should try to trap error 18 and/or disable the ESC key.
Is there any way to use Application.Username if CTRL + BREAK is pressed?
Psuedo code:
If CTRL + BREAK is pressed then
Username = Application.Username
Last edited by waimea; 01-07-2019 at 09:06 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules