Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Automatically Updating Fields and Links.

Automatically Updating Fields and Links

by Allen Wyatt
(last updated September 17, 2016)

4

Stephanie wondered if there is a way in Word to force the updating of all fields and links in a document when either opening or saving (closing) the file. She knows that she can force updates prior to printing, but she was looking, specifically, for the open or close method of updating.

You can automatically update both fields and links when you print a document, but Word treats the two items differently when you are opening a file. Word provides a way to always update your links when opening a document. You can do this by following these steps:

  1. Choose Options from the Tools tab. Word displays the Options dialog box.
  2. Make sure the General tab is selected. (See Figure 1.)
  3. Figure 1. The General tab of the Options dialog box.

  4. Click the Update Automatic Links at Open check box.
  5. Click on OK.

That setting should make sure that all your links are always up to date. If you want to update the fields when the document is opened, you'll need to use a macro to accomplish the task. Specifically, you'll need to use either an AutoOpen or AutoClose macro, depending on whether you want to update the fields when the document opens or closes. The following is an example of an AutoOpen macro you can use.

Sub AutoOpen()
    With Options
        .UpdateFieldsAtPrint = True
        .UpdateLinksAtPrint = True
    End With
    ActiveDocument.Fields.Update
End Sub

Note that the macro makes sure that the options are set to force updating the fields and links when printing occurs, then it updates all the members of the Fields collection in the document. If you, instead, wanted to update the fields at closing, you could use this macro:

Sub AutoClose()
    ActiveDocument.Fields.Update
End Sub

This macro is much shorter because there is no need to set the update-on-print options when you are exiting the document.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (422) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Automatically Updating Fields and Links.

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

Setting Gap Spacing in the Equation Editor

The Equation Editor is a great tool that allows you to add equations to your document. You have quite a bit of control over ...

Discover More

Printing a Chart Across Multiple Pages

Wouldn't it be great to have your huge charts print out on multiple pieces of paper that you could then piece together? While ...

Discover More

Using the Keyboard to Select and Resize a Chart Object

When working with charts and chart objects, Excel is very dependent on the mouse. If you don't want to use the mouse, but ...

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 (menu)

Status Bar Icons

Near the center of the status bar Word displays a number of different icons. This tip describes the meaning of each possible ...

Discover More

Canceling a Command

Tired of waiting for a command to finish running? You can use the same shortcut to cancel a command that you use to dismiss ...

Discover More

Removing Author Information

Word automatically stores lots of author-related information within a document. Because this data is stored in several ...

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

2017-06-13 07:05:27

Reezwana

I have linked images in a word document (word 2010). 'Update automatic links at open' is unchecked. However, each time I open the word document, it automatically updates all linked images in the document. How do change the settings so that I can manually update linked images in the word document by hitting F9?

I tried the 'Edit Links to Files' option, but the options of selecting 'Automatic update' or 'Manual update' are greyed out. Also, in the list of all my linked images, under the column 'Update', it has 'Man' for each linked image.

So if all the images are set to update manually, as per the link manager above, why does it still update each time I open the word document?


2017-06-13 06:52:27

Reezwana

I have linked images in a word document (word 2010). 'Update automatic links at open' is unchecked. However, each time I open the word document, it automatically updates all linked images in the document. How do change the settings so that I can manually update linked images in the word document by hitting F9?

I tried the 'Edit Links to Files' option, but the options of selecting 'Automatic update' or 'Manual update' are greyed out. Also, in the list of all my linked images, under the column 'Update', it has 'Man' for each linked image.

So if all the images are set to update manually, as per the link manager above, why does it still update each time I open the word document?


2017-01-17 11:48:45

Lohith

how to updaet all the page number in index page using VB script please help me


2016-11-02 10:47:40

James Aston

Awesome tip! I'd put together an Excel tool and linked Word templates a while back to allow exam front covers to be produced that were of the same format and standard regardless of the exam in question. We had a recent software update which threw all the settings out, and the people now doing the exams (I've moved positions since then) couldn't get it to work, so they asked me. I changed the settings, rechecked it and gave it back to them but it didn't work - seems that when I changed the settings in the options menu it only saved them for me, not for the documents (they're on a MOSS site) - I updated the Word templates with your macro (a nice easy cut and paste) and hey presto!! Brilliant! Thank you!


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.