Code

I have placed all the code snippets from the book here and then some. Copy them into the a macro in the Microsoft Visual Basic editor between the Sub and End Sub lines. For detailed steps to create a macro, see Creating a Paste Unformatted macro in chapter 1.5 of the book.