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.

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?

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!

×