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:
-
On the Developer tab, choose Macros. See Show the Developer tab to learn how to display the Developer tab.
-
In the Macro dialog box, type a name for the macro.
-
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.