Control Break Trap will not work whilst Userform is displayed
Hello All,
In Excel I have statement
Application.OnKey "^{BREAK}", "Sub_Trap_Break"
This is okay at all times when there is no Userform being displayed but when there is a form this does not work.
Any ideas how to overcome this?
I am trying to stop users get to the spreadsheet.
To stop this I have:
1) Form event Query Close
2) The sheet only becomes visible when macros are enabled otherwise it is xlVeryHidden
3) The cells font and background colours are the same so nothing can be seen ! and it is protected at the appropriate times
4) Menus are disabled
But that fact that on control Break (when a form is displayed) the VBE window appears is irritatting, any ideas? (No code is displayed as that is protected too!)
Thanks for any ideas
Chas
PS This is only a temporary measure whilst I wait for Access to be installed on my PC at work, (probably will end up being my 2007 New Year's present from the Administrators!)

