Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×