provided by: 
Originally published at Internet.comVisual Studio.Net has added an expanded extensibility model and macros to the unified Visual Studio IDE. The macro tools allow you to quickly record repetitive tasks, enhancing productivity. The productivity gain you get depends on the weight of the repetitive tasks. Small automatic tasks, small gains. Bigger tasks, bigger gains.
When you have automated the repetitive task you can open the Macro IDE and customize the macros, tapping into the extensibility model using Visual Basic code. In this article we examine the rudiments of creating, customizing, and employing macros in Visual Studio, for the benefit of our Visual Basic projects.
Creating Macros
An easy way to start a macro is to record the steps close to or identical to the process you want to automate. When you have recorded the macro, open the Macro IDE and customize the macro, adding the fit and finish you need.
Recording and Playing Macros
Macros can be recorded in the Visual Studio IDE by selecting Tools|Macros|Record TemporaryMacro (Ctrl+Shift+R is the shortcut). This displays the macro toolbar as shown in Figure 1. When you have finished recording your steps then click the center-Stop Recording-tool button (shown in figure 1).

...
Read article at Internet.com site