Self-contained documents?

  • Thread starter Thread starter Bedford Writer
  • Start date Start date
B

Bedford Writer

I have a template that contains a macro. People start new documents from
this, save them to some other location, and then want to be able to run the
macro in that document when they no longer have access to the template.
No - copying the template all over the place is not an option.

Is there a way to automatically embed the macro from the template into the
new document so that it can be completely stand-alone? I want no links back
to the template whatsoever.
 
Well, you can store macros directly in a document. If you are using Word
2007, it must be in a document with the extension .docm.

But note that as a result of macro security you usually cannot run code from
within a document, anyway.

You should place a template with macros in the user templates folder (or
another trusted location).
 
Back
Top