This documentation is archived and is not being maintained.

WdEnableCancelKey Enumeration 

Specifies whether CTRL+BREAK can or cannot interrupt a macro

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim wdEnableCancelKey1 As WdEnableCancelKey = WdEnableCancelKey.wdCancelDisabled

public enum WdEnableCancelKey
public enum WdEnableCancelKey
public enum WdEnableCancelKey

Member nameDescription
wdCancelDisabledPrevents CTRL+BREAK from interrupting a macro.
wdCancelInterruptAllows a macro to be interrupted by CTRL+BREAK.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: