Application.Macro method (Project)
Runs a macro.
expression A variable that represents an Application object.
|Name||Optional||String||The name of the macro to run. If Name is omitted, the Macros dialog box appears.|
The following example runs a macro named "CheckShifts".
Sub RunMacro() Macro "CheckShifts" End Sub
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.