Article ID: 252426 - View products that this article applies to.
This article describes how you can assign a Microsoft Outlook Visual Basic for Applications macro to a toolbar button.
In Outlook, you can create Visual Basic for Applications macros that use the Outlook object model to perform certain tasks. If you want to easily run the macro at any time, you can assign the macro to a toolbar button so that you can click the button to run the macro.
NOTE: Since Visual Basic for Applications is considered "applciation-level" code, you should add the toolbar button to the Outlook Standard toolbar and not the toolbars on items.
To Create the Toolbar Button
(https://support.microsoft.com/kb/252427/EN-US/ )OL2000: How to Assign a Macro to a Shortcut Key
For additional information about available resources and answersto commonly asked questions about Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/146636/EN-US/ )OL2000: Questions About Custom Forms and Outlook Solutions
Article ID: 252426 - Last Review: June 19, 2014 - Revision: 4.0