Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Determining the Template Attached to a Document.

Determining the Template Attached to a Document

Written by Allen Wyatt (last updated January 21, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


4

Every document has a template associated with it. Templates control things like which styles and macros are available to the document. A document can have only one template associated with it at a time, and you can change that template at any time you desire.

If you want to find out which template is attached to a document, you can do so by displaying the Developer tab of the ribbon and then clicking on the Document Template tool. Word displays the Templates and Add-ins dialog box. (See Figure 1.) The field at the top of the dialog box indicates the name of the template associated with your document.

Figure 1. The Templates and Add-ins dialog box.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10689) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Determining the Template Attached to a Document.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Dynamic Path and Filename in a Footer

You can easily place a path and filename in the footer of your document. What do you do if it appears that these elements ...

Discover More

Printing a Draft of a Document

Need to print a copy of a document but you don't care if it looks as "pretty" as you want the final printout to look? You ...

Discover More

Creating a Hanging Indent

One of the more common formatting tasks for paragraphs is to create hanging indents. This tip explains what they are and ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Creating a Letterhead Template

Word is often used to write all sorts of letters. You may want to create a template that makes creating your letters ...

Discover More

Managing Corporate Templates

Templates are used to store styles and lots of other customizations that affect how you use Word. On a single-user ...

Discover More

Protecting the Normal Template During an Update

When Microsoft decides to update your 365 system, you may find that it also overwrites your Normal template. This tip ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 1 + 1?

2023-01-24 04:34:15

Barry

Thank you to both Tomek and Andrew. Both relies are very useful.
Regards
Barry


2023-01-23 11:07:20

Andrew

In a macro, ActiveDocument.AttachedTemplate.Name or ActiveDocument.AttachedTemplate.FullName gives this information.

Andy.


2023-01-22 11:00:36

Tomek

I think it may happen if the open document is a template itself.
This will happen if you save your fila as a template and you continue editing it, or if you open the file that is a template using Open from within Word.
Opening the template from file explorer crates a new document based on that template.
HTH


2023-01-21 08:44:03

Barry

Hi. I tried using this Tip ( Finding the Template Attached to a Document).
In the dialog box the area for the template name is empty and greyed out for some files but not others. Why would that happen if all documents have an associated template? All of the documents are created on the same Word version (2019).
Any suggestions to resolve this greatly appreciated.
Regards
Beepee


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.