Export (0) Print
Expand All
Expand Minimize

XlEnableCancelKey Enumeration

Office 2007
Specifies how Microsoft Office Excel 2007 handles CTRL+BREAK (or ESC or COMMAND+PERIOD) user interruptions to the running procedure.

Version Information
 Version Added:  Excel 2007

NameValueDescription
xlDisabled0Cancel key trapping is completely disabled.
xlErrorHandler2The interrupt is sent to the running procedure as an error, trappable by an error handler set up with an On Error GoTo statement. The trappable error code is 18.
xlInterrupt1The current procedure is interrupted, and the user can debug or end the procedure.


Community Additions

ADD
Show:
© 2014 Microsoft