Hi tinfanide,
It certainly looks to me like you're adding the code to a document (not a template). How do I know? Simply: the vba project you're adding the code to says 'Project (Doc1)', but when you (re)open the template, then open the vbe, it says 'TemplateProject (Doc1)'!
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|