To use the macro code you find here you'll want to copy it to the clipboard and follow these steps.
Getting the macro into Visual Studio .Net
Using the Macro
Putting a Macro on a Menu or Command Bar
Creating a Keybinding for your Macro