Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code persistence from templates to documents

Status
Not open for further replies.

pd84313

Programmer
Aug 26, 2002
11
AU
I have added code to a button in a template but when I open the template as new the code does not follow the the button over to the new document ?
Can anyone help ?
 
Since you mention documents, I assume it's Word. Word templates are attached to the new document. Anytime the document is opened, the template is opened as well, so that the macros in the template are available. This is why the macros aren't copied along.
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top