To run a macro in Outlook, the Developer tab must be visible on the ribbon. See Show the Developer tab.

With the Developer tab visible:

  1. On the Developer tab, in the Code group, click Macros.

  2. In the Macro dialog box, under Macro name, select the macro that you want, and then click Run.

Here are details about the other options in this dialog box.

Macro name

Specifies the name of the macro or add-on to step into, edit, create, delete, or run.

Macro list

Lists all macros available. You can change what appears here by selecting another macro in the Macros in box.

Run

Runs the selected macro.

Cancel

Cancels all unsaved changes and closes the dialog box.

Step Into

Begins running the selected macro in the Visual Basic Editor and allows you to step through its execution.

Edit

Opens the selected macro in the Visual Basic Editor so you can edit its code.

Create

Creates a macro with the given name and opens it in the Visual Basic Editor.

Delete

Deletes the selected macro.

For information about the security risks of macros and enabling or disabling macros in documents in the Trust Center, see Enable or disable macros in Office documents.

If you want to create or edit a macro, you must use Visual Basic for Applications (VBA).

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Office Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×