Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Sub RunAutoMacro ( _
Which As WdAutoMacros _
)
'Usage
Dim instance As _Document
Dim Which As WdAutoMacros
instance.RunAutoMacro(Which)
void RunAutoMacro(
WdAutoMacros Which
)
Parameters
- Which
Type: Microsoft.Office.Interop.Word.WdAutoMacros
Required WdAutoMacros.
Remarks
Use the Run method to run any macro.