Macro Method
Runs a macro.
Syntax
expression**.Macro(Name)**
*expression * Optional. An expression that returns an Application object.
Name Optional String. The name of the macro to run. If Name is omitted, the Macros dialog box appears.
Example
The following example runs a macro named "CheckShifts".
Sub RunMacro()
Macro "CheckShifts"
End Sub
Applies to | Application Object
See Also | Alerts Method | Run Method | Sort Method