title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.Macro method (Project) |
vbapj.chm1001 |
|
project-server |
|
e07686b6-3c38-7413-692b-aac8fb9bf526 |
06/08/2017 |
medium |
Runs a macro.
expression. Macro
( _Name_
)
expression A variable that represents an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Name | Optional | String | The name of the macro to run. If Name is omitted, the Macros dialog box appears. |
Boolean
The following example runs a macro named "CheckShifts".
Sub RunMacro()
Macro "CheckShifts"
End Sub
[!includeSupport and feedback]