Update fields in Header or Footer


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?
 
Ad

Advertisements

J

Jezebel

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?
 
G

Guest

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.
 
Ad

Advertisements

J

Jezebel

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top