That suggests you no longer have the template loaded. In Word, whatever document you want code stored in a template to run on must be both attached to and accessible to the document.
Accordingly, you need to either:
• copy all the code from the CCtrlBeforePrint template and paste into corresponding modules in your own template; or
• create the relevant documents the CCtrlBeforePrint template (which can be renamed to something more suitable and reformatted beforehand), or at least attach the existing document(s) to that template.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|