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

Changing Built-in Word Commands

Want to replace Word's internal commands with your own macros? It's easy to do if you know the key discussed in this tip.

Discover More

Blocking the First Sentence from File Info

When you save a file, the information from the start of the file is saved in the properties for the document, and can be ...

Discover More

Displaying Letter Grades

Grading in schools is often done using numeric values. However, you may want to change those numeric values into letter ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Best Way to Create a Document Template

Templates are the basis of creating consistent documents that permit fast and easy formatting. What is the best way to ...

Discover More

Making Templates Available to Word

Confused about where to store your templates in Word so that they are available when using the program? This tip ...

Discover More

Changing the Attached Template

Templates, when attached to a document, can greatly affect how that document looks. You can change from one template to ...

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 three minus 2?

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.