Does the folder C:\reports\templates\ exist? You will get an error if it doesn't.
The attached template includes a ribbon, a modified version of the code to reflect that, and includes some basic error correction. It also works!
You can edit the ribbon with the CustomUI editor - see
http://gregmaxey.com/word_tip_pages/...bbon_main.html