WdEnableCancelKey enumeration (Word)

Specifies whether CTRL+BREAK can or cannot interrupt a macro

Name Value Description
wdCancelDisabled 0 Prevents CTRL+BREAK from interrupting a macro.
wdCancelInterrupt 1 Allows a macro to be interrupted by CTRL+BREAK.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.