Export (0) Print
Expand All
Expand Minimize

XlEnableCancelKey enumeration

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public enum XlEnableCancelKey

Member nameDescription
xlDisabledCancel key trapping is completely disabled.
xlErrorHandlerThe 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.
xlInterruptThe current procedure is interrupted, and the user can debug or end the procedure.

Community Additions

ADD
Show:
© 2014 Microsoft