View Single Post
 
Old 10-19-2017, 05:49 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Please pay attention to what I posted. I did not suggest you saved the document as a template; I suggested the macro might be in the document's template and not in the document itself. There's a world of difference between a document and a template and you should take time to learn how documents relate to templates.

Every document is based on a template. Macros in a template are available to any document based on that template regardless of the save format - provided they can access the template. Your statement
Quote:
Originally Posted by danjoe View Post
If I copy and paste the code directly into the document and save it locally on the new machine then close/reopen it works.
confirms that you had added the code to the document's template and not to the document itself.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote