You use Visual Basic for Applications (VBA) to create or edit macros in Outlook.

Create or edit a macro

To create or edit a macro by using Visual Basic for Applications (VBA), do the following:

  1. On the Developer tab, choose Macros. See Show the Developer tab to learn how to display the Developer tab.

  2. In the Macro dialog box, type a name for the macro.

  3. Click Create to open Visual Basic for Applications (VBA).

Run a macro

For information about how to run a macro in Outlook, see Run a macro in Outlook.

Need more help?

Expand your skills


Get new features first


Was this information helpful?

What affected your experience?

Thank you for your feedback!