WdAutoMacros Enum

Definition

Specifies an auto macro that is stored in the document.

public enum class WdAutoMacros
[System.Runtime.InteropServices.Guid("9A947B78-450D-3757-B619-68CECCE5BCF5")]
public enum WdAutoMacros
type WdAutoMacros = 
Public Enum WdAutoMacros
Inheritance
WdAutoMacros
Attributes

Fields

Name Value Description
wdAutoExec 0

AutoExec macro.

wdAutoNew 1

AutoNew macro.

wdAutoOpen 2

AutoOpen macro.

wdAutoClose 3

AutoClose macro.

wdAutoExit 4

AutoExit macro.

wdAutoSync 5

AutoSync macro.

Remarks

Used with the RunAutoMacro method of the Document object.

Applies to