Update fields in Header or Footer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Alt+F9 only works in the body of a document, or TOC, but not in the footer.
Even Select+All ahead of time fails to update a field in footer. How to fix?
 
If you want to do it manually, you need to select the header/footer and
press F9. This applies also to fields in textboxes and footnotes.

Or write a macro along these lines --

Dim pRange as Word.Range

For Each pRange In ActiveDocument.StoryRanges
Do
pRange.Fields.Update
Set pRange = pRange.NextStoryRange
Loop Until pRange Is Nothing
Next




Kind writer/user/programmer said:
Alt+F9 only works in the body of a document, or TOC, but not in the footer.
Even Select+All ahead of time fails to update a field in footer. How to
fix?
 
First be sure you have chosen a field that updates. There are several date
fields to choose from, they don't all update. Hope that helps.
 
inwood said:
First be sure you have chosen a field that updates. There are several date
fields to choose from, they don't all update. Hope that helps.

Most fields have nothing to do with dates. *All* fields that produce a
result (including all date fields) have to be updated at least once.
 
Back
Top