If you create a new document from a template the code remains in the template and can only be used as long as the document has access to the template.
Frankly I wouldn't use Active X command buttons. They are a throwback to Word's ability to create html documents, It would be better to create a ribbon tab for your template - http://gregmaxey.mvps.org/word_tip_p...bbon_main.html or you could add a userform to your template and use that to select which tables are added to the document.