Application.EnableCancelKey Property
Project Developer Reference |
Returns or sets how CTRL+BREAK is handled when a macro is running. Read/write Long. Can be one of the PjEnableCancelKey constants.
Syntax
expression.EnableCancelKey
expression A variable that represents an Application object.
Return Value
PjEnableCancelKey
Example
This example shows how you can use the EnableCancelKey property to set up a custom cancellation handler.
Visual Basic for Applications |
---|
|
See Also