Posted on 2011-05-03
Last Modified: 2012-05-11
When I insert a field code "filename" at the end of the document.  It does not update it with a new name or new version if I do "save as."  I did check the box stating "preserve formatting" but it does not change the stamp on the document.

Thank you.
Question by:miamiLAW
    LVL 7

    Expert Comment

    by:philip m o'brien
    Word does not act like Excel, and automatically update fields. You will find it has updated when you next re-open but, if you want to see the change immediately you need to refresh it in some way e.g. use Ctrl+A to select all, then press F9 to refresh.
    There are other ways to do this as well, for instance shifting to Print Preview and back and so on. Unfortunately SaveAs is not one of them.
    LVL 17

    Expert Comment

    By default the only time a word document automatically updates field values is when you open it, besides that it is as SubVersion... posts above you need to select all and press F9
    LVL 9

    Expert Comment

    You can force all fields to update with a simple macro:

    Sub FieldsUpdateAll
    End Sub

    You could assign it to a button on the Quick Access Toolbar, or assign a keyboard shortcut for it.
    LVL 7

    Accepted Solution

    Fair point, I'd avoided suggesting a macro option since it wasn't mentioned in the question as a preferred solution, but I agree that the code above would work fine.
    If you want to be able to do this with all Word documents, not just the one in question, just remember to add the code to a new module in Normal.

    To do this use the following:
    Click on where it says Normal in bold, then press
    These three instructions will open the VBE and create a new module for you within the "Normal" project. Simply post the code from above into this.
    Once done, to create a keyboard shortcut use these steps:
    Scroll down to Macros, then select your new macro e.g. FieldsUpdateAll
    Now highlight the box marked "Press new shortcut key" and enter your chosen shortcut key combination e.g. Alt+U
    Click on Assign, Close and Close again

    Now if you press Alt+U this will update all fields in your active document.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
    This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
    Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
    This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now