How to update ALL fields in a document at once--caption numbers in text boxes and the text layer, headers and footers.

Anonymous
2010-03-13T02:21:19+00:00

My title just about says it--all of my  all.  I'm working on a long document; all of my inserted objects (figures and tables) are in text boxes with their captions.  Throughout the editing process some objects have been deleted or moved so now they're completely out of order.

How do I get them all to update at once?  When I select all (Ctrl+A) only the body gets selected.  It is currently ignoring all tables, figures, headers, footers where I have a lot of fields.  I don't mind having to go into the header/footers manually because that at least only has to be done once.  But with my captions, currently I have to select each caption in each text box seperately to update them. 

I appreciate all of your help.

Additionally, I have figured out that I can go to Print Preview and get them to all update so it's getting better...BUT I have two figures on a page (one on the top half and the other on the bottom half) and their figure numbers are out of order. 

Top of Page:  Figure 4-5

Bottom:  Figure 4-4

I've tried updating manually, I've even deleted both captions and re-input them...nothing.  What is going on?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Jay Freedman 208.3K Reputation points Volunteer Moderator
2010-03-13T04:51:07+00:00

Going to Print Preview and back is the best way of updating all fields at once.

Do you by chance have the pictures and their captions in text boxes? If so, the caption numbering will be in the order of the locations of the "anchors" of the text boxes, not in order of the positions of the boxes themselves. First go to Office button > Word Options > Display and check the box to show object anchors. Now go to the page with the problem, and click on the edge of the upper text box. Note which paragraph has the anchor symbol next to it. Now click the lower text box. If the anchor for this one is on a paragraph higher on the page than the first one, drag it to a paragraph below the first one. Then go to Print Preview to update the captions, and they should straighten out.


Jay Freedman MS Word MVP

Was this answer helpful?

60+ people found this answer helpful.
0 comments No comments

56 additional answers

Sort by: Oldest
  1. Anonymous
    2016-02-03T03:52:50+00:00

    Charles,

    There is a minor problem.  Graham's macro may not update all fields.  While rare, fields located in shapes in headers and footers are not updated in that manner:

    Public Sub UpdateAllFields()

    Dim rngStory As Word.Range

    Dim lngJunk As Long

    Dim oShp As Shape

    Dim oToc As TableOfContents, oTOA As TableOfAuthorities, oTOF As TableOfFigures

    lngJunk = ActiveDocument.Sections(1).Headers(1).Range.StoryType

    For Each rngStory In ActiveDocument.StoryRanges

      'Iterate through all linked stories

      Do

        On Error Resume Next

        rngStory.Fields.Update

        Select Case rngStory.StoryType

          Case 6, 7, 8, 9, 10, 11

            If rngStory.ShapeRange.Count > 0 Then

              For Each oShp In rngStory.ShapeRange

                If oShp.TextFrame.HasText Then

                   oShp.TextFrame.TextRange.Fields.Update

                End If

              Next

            End If

          Case Else

            'Do Nothing

        End Select

        On Error GoTo 0

        'Get next linked story (if any)

        Set rngStory = rngStory.NextStoryRange

      Loop Until rngStory Is Nothing

      'Special Cases

      For Each oToc In ActiveDocument.TablesOfContents

        oToc.Update

      Next oToc

      For Each oTOA In ActiveDocument.TablesOfAuthorities

        oTOA.Update

      Next

      For Each oTOF In ActiveDocument.TablesOfFigures

        oTOF.Update

      Next

    Next

    End Sub

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-03-22T08:08:44+00:00

    Hi,

    Just found out you can press [CTRL] + [A] and [F9] to update all the fields.

    Greetings

    Was this answer helpful?

    0 comments No comments
  3. Stefan Blom 353.4K Reputation points MVP Volunteer Moderator
    2016-03-22T08:42:31+00:00

    Just found out you can press [CTRL] + [A] and [F9] to update all the fields.

    It depends on how you define "all the fields." Ctrl+A selects only the current "story range." For example, if the insertion point is in a text box when you press the keys, only the contents of that text box will be selected.

    For cross-references and caption numbers, switching to Print Preview with Ctrl+F2 and then exiting the preview with ESC does the job.

    Was this answer helpful?

    0 comments No comments
  4. Charles Kenyon 171K Reputation points Volunteer Moderator
    2016-03-22T12:21:38+00:00

    Hi,

    Just found out you can press [CTRL] + [A] and [F9] to update all the fields.

    Greetings

    Noah, 90% of the time you are correct. However, you will not update fields in headers,footers or textboxes doing this. Ctrl+A selects all text in the document layer or the header layer or the current textbox.

    Was this answer helpful?

    0 comments No comments