A family of Microsoft word processing software products for creating web, email, and print documents.
Specifically about macros in templates vs. those in documents:
- Macros in a document are available only to that document. If document A contains a macro, and document B is open at the same time, the macro may be able to work on document B, but that depends on how the macro is written.
- Macros in a template that's used to create new documents are available only to the documents based on that template (with the special exception of the Normal.dotm template).
- Macros in so-called global templates (those stored in the Word Startup folder, plus the Normal.dotm template) are available to all documents, regardless of which template they're based on.