Visual Studio allows you to access a macro more easily by assigning it to a toolbar button.
Assigning a Macro to a Toolbar Button
-
Choose Customize from the Tools menu.
-
Choose the Commands tab.
-
Select Macros in the Categories list.
-
Drag the macro name from the Commands list to the position on the toolbar you want the new button to appear.
-
Click Modify Selection and choose the appropriate commands to modify the appearance of the button, such as renaming it, assigning an image to it, and so on.
See Also