Disable the PauseBreak key
Hi,
thanks for the info I've tried placing some code in the Userform Terminate
section but it wont launch upon the keystroke combination.
Would i be asking too much if you could supply some code and at what section
would this be applied
many thanks
"AB" wrote:
check out
application.EnableCancelKey
You can set it to enable/disable/Error
and then code accordingly. The 'error' let's you trap it by raising an
error - i think the err.number=18.
On Jul 15, 2:26 pm, leerem wrote:
gentelmen,
I'm working on a spreadsheet that is primarily run by code, by
use of userforms.
What i need is to stop some inquisitive personell from attempting to break
out of the code by the use of Control + PauseBreak keys.
How can I therefore Disable this combination of key strokes. Should this
occur all the information held within memory on the specific userform will be
lost.
your help would be appreciated
lee
|