You can't. The point of the shift key is that it bypasses al the startup procedures which means that no code is going to run.
It is possible to prevent users from using the shift key by running some code. Look at AllowByPassKey in Help. Be sure you give yourself an option to set it back on.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.