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