Indicating the Date Changes were Last Made

Written by Allen Wyatt (last updated March 14, 2020)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


3

In the header of his document Tony includes a date field. He wonders if there is a way to have the date field update only if a change has been made to the details of the document. He is using the field to reflect the version of the document.

Before discussing how you can approach this need, there is a philosophical question that one needs to consider: When is a change actually made? When the edit is completed or when the document you edited is actually saved? The philosophical answer, of course, is that the change isn't really "made" until such time as you save your document. You can make changes to your document for hours on end, but if you never save the document, those changes are ephemeral; they go away when you lose power to your computer.

Recognizing this, Microsoft has never had a field that indicates the date when changes were last made. Instead, they included a SaveDate field which indicates the date the document was last saved. Here's how you can add this field to your document:

  1. Position the insertion point where you want the date to appear.
  2. Display the Insert tab of the ribbon.
  3. Click Quick Parts (in the Text group) and then click Fields. Word displays the Field dialog box.
  4. Choose Date and Time from the Categories drop-down list at the left of the dialog box. (See Figure 1.)
  5. Figure 1. The Field dialog box.

  6. Select SaveDate from the field list at the left side of the dialog box.
  7. Click on Options to select a date format, if desired.
  8. Click on OK to insert the field.

You should note that if you save your document as you are editing, you won't see the SaveDate field update right away. It exhibits the same behavior as any other field in your document and is only updated when the field, itself, is updated. (This behavior has been covered in other WordTips.)

There is also another way you could insert the last date your document was saved, using a document property called DocModified. Despite its name, it displays the same information as the SaveDate field. You can insert this custom property in your document in much the same way as you inserted the SaveDate field:

  1. Position the insertion point where you want the date to appear.
  2. Display the Insert tab of the ribbon.
  3. Click Quick Parts (in the Text group) and then click Fields. Word displays the Field dialog box.
  4. In the list of Categories, choose Document Information.
  5. In the list of Field Names, choose DocProperty.
  6. In the Property list, choose the DocModified property.
  7. Click on OK. Word inserts the field into your document.

Whenever you work with fields as described in this tip, there are a couple of things you need to keep in mind. The first I already mentioned—the fact that fields are not updated automatically; they need to be specifically updated. The other thing is that if you do update fields (like if you print the document, which automatically updates the fields), Word thinks that just because the fields have been updated that the document itself has been updated. Thus, when you close the document you will be asked if you want to save your changes. If you do save the document then, of course, the next time you open the document the SaveDate field will reflect the new date on which you saved the document, not the date you made real changes to the document. (Sorry, contra Microsoft, I don't consider updates to fields to be "real changes.") The bottom line is that you should make sure you only save your document if you really make changes, not just if the fields were updated.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13746) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.

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

Resetting Character Formatting in a Macro

Want your macro to get rid of the formatting applied to a selection of text? It's easy enough to do using the Reset ...

Discover More

Wrapping Text Around a Text Box or Frame

Text boxes and frames can be used for all sorts of information and objects in a document. You can wrap text around the ...

Discover More

Stopping an Excel Window from Maximizing

When you drag an Excel window near the edge of your screen, you may end up having that window occupy more of the screen ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Updating Calculated Fields in a Form

When creating a Word form, you use special form fields to collect information from users. You can even perform ...

Discover More

Printing Index Field Codes

Word allows you to configure what you see so that field codes are visible instead of the results of those field codes. ...

Discover More

Updating Fields Automatically

You can place dynamic fields into many parts of your document. If your document contains a lot of fields, you might ...

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 8 + 7?

2020-04-07 14:11:44

Anita

I don't have the DocModified property either. I'm using Word 365, version 1902, build 11328.20554 (click-to-run) (semi-annual channel).


2020-03-16 18:40:48

Allen

That's interesting, Tomek. If I follow the second set of steps on my Office 365 system, I can see the DocModified property right after I complete step 5.

This is on a system that doesn't use SharePoint.

-Allen


2020-03-16 16:24:33

Tomek Dluzniewski

Hi Allen,
In my version of Word (365/2016) there is no property DocModified. I guess it must be your custom property or may be SharePoint property, if you use it.
Regards,
Tomek


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.