I have a Word 2007 macro-enabled template (DOTM). I want to distribute this to some users for a specific purpose: double-clicking the macro button field will paste in certain text and format it as needed. After this, the doc is saved on the user's machine and the doc closes.

All this works fine. The problem is that the ttemplate itself is still open. I know this because I have the template file sitting on my desktop and I can see the "ghost" temp file right next to it. The only way to make the template's ghost vanish is to totally quit the application, which I don't want to do if the user has other Word docs open. I tried to see if Application.Templates("TemplateName.dotm").Close or .Quit would work - but it seems the Tempalte object doesn't have those methods!

Is there any way I can close just that template after I've closed the doc that it created? No other docs are created using that template.

Ed