Macros can be executed from a loaded VBA project file.
- On the ribbon, click Manage tab Applications panel Run VBA Macro.
- In the Macros dialog box, Macros In drop-down list, select the project file you want to work with.
- In the Macros list, select a macro and click Run.
You can also work with macros in a loaded project file using the VBARUN command.