Hi Michael,
There's no macro in the document you posted, so it's hard to see what you might have been doing wrong. To make the code available for use in multiple documents, I'd suggest adding to the
normal template. I'd also suggest giving it a meaningful name! For installation instructions, see:
http://www.gmayor.com/installing_macro.htm