Microsoft Office Tutorials and References
In Depth Information
Even when it comes to Outlook macros, you must use caution. Just because you cannot be
infected with a malicious Outlook virus by means of an email attachment does not mean
you are safe. If you plan to use macros from any outside source, you should use macros from trusted
sources only, and when in doubt look over the macro source code to look for potential problems.
Assigning Macros to Menus and Toolbars
When you have a few macros that you use a lot, you may not want to open the Macros dialog box
to run them each time. You can place a macro on a menu or a toolbar to make it more readily
available. The procedures are similar to those for customizing menus and toolbars that were covered in
Chapter 19. You may want to create a new toolbar, as explained in that chapter, specifically for
In Outlook, select Customize from the Tools menu to display the Customize dialog box.
If necessary, click the Commands tab.
Select Macros in the Categories list. As shown in Figure 22.3, the Commands list displays
the names of all macros.
To place a macro on a toolbar or menu, drag it from the list and drop it at the desired
position on the toolbar or menu.
When finished placing commands, click Close to close the Customize dialog box.
Assigning macros to menus and toolbars.
By default, a macro is displayed on a menu or toolbar with the macro name and the generic Macro
icon, as shown in Figure 22.4.