WdAutoMacros enumeration (Word)

Specifies an auto macro that is stored in the document.

Name Value Description
wdAutoClose 3 AutoClose macro.
wdAutoExec 0 AutoExec macro.
wdAutoExit 4 AutoExit macro.
wdAutoNew 1 AutoNew macro.
wdAutoOpen 2 AutoOpen macro.
wdAutoSync 5 AutoSync macro.

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.