Indicating the Date Changes were Last Made

by Allen Wyatt
(last updated March 14, 2020)

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 Office 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

Deleting All Headers and Footers

Headers and footers add a finishing touch to documents, but sometimes they can be bothersome. You may need to remove them ...

Discover More

Moving Footnote References Using Find and Replace

When you are editing a document, you may need to modify where the author placed footnotes relative to surrounding ...

Discover More

Changing Formatting for a Portion of Found Text

The Find and Replace capabilities of Word are quite powerful. If you want to change the formatting of just a part of text ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

Differences between SEQ and LISTNUM Fields

Word provides several different fields you can use for custom numbering in a document. Two of the most commonly used are ...

Discover More

Updating Fields in Locked Forms

Updating form fields in Word can be confusing, especially when the fields are locked in a form. This tips explains why ...

Discover More

Inserting the Date Your Document Was Last Printed

Word keeps track of each time you print your document, and you can automatically insert the last printing date anywhere ...

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}] 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 3 - 2?

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.

Newest Tips
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.