Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

_Document.RunAutoMacro method

Runs an auto macro that's stored in the specified document. If the specified auto macro doesn't exist, nothing happens.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void RunAutoMacro(
	WdAutoMacros Which
)

Use the Run method to run any macro.

Show:
© 2015 Microsoft