View Single Post
 
Old 01-12-2021, 12:50 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote