_Document.RunAutoMacro Method
Office 2010
Runs an auto macro that's stored in the specified document. If the specified auto macro doesn't exist, nothing happens.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Parameters
- Which
- Type: Microsoft.Office.Interop.Word.WdAutoMacros
Required WdAutoMacros.