Reply
 
Thread Tools Display Modes
  #1   Report Post  
dawn_treador
 
Posts: n/a
Default In MS Word, how can I update all fields in the document, INCLUDIN.

In MS Word, clicking "Select All" and then pressing F9 will update all fields
in a document, except for fields in the headers and footers. Is there any
one-step way to update all fields in a document, including the headers and
footers?
  #2   Report Post  
Greg
 
Posts: n/a
Default

Dawn,

If you have "update fields" selected as a print option then you can
quickly update field, including the header and footer, by toggling in
and out of print preview. Otherwise you can us a macro:

Sub UpdateFields()
Dim oStory As Range
For Each oStory In ActiveDocument.StoryRanges
oStory.Fields.Update
If oStory.StoryType wdMainTextStory Then
While Not (oStory.NextStoryRange Is Nothing)
Set oStory = oStory.NextStoryRange
oStory.Fields.Update
Wend
End If
Next oStory
Set oStory = Nothing
End Sub

Since I don't know when I would ever want to selectively update a
single field I have set this macro to run with the keyboard shortcut F9.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I divide a page into three sections? Bonnie Microsoft Word Help 3 May 8th 23 02:47 AM
I wish to append one Word document to another Word document, how? Steven Wallace Microsoft Word Help 1 December 12th 04 06:13 PM
saving the workspace Mike Microsoft Word Help 3 December 8th 04 11:32 PM
How do i update a word document date field with a future date al Microsoft Word Help 2 December 6th 04 08:41 AM
How do I convert a cd in word perfect to microsoft word greylady Microsoft Word Help 1 November 23rd 04 07:03 PM


All times are GMT +1. The time now is 08:15 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"