Skip to content

Instantly share code, notes, and snippets.

@tdalon
Created September 30, 2016 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdalon/fe5f6f705ac8c2211a348763145b7ca1 to your computer and use it in GitHub Desktop.
Save tdalon/fe5f6f705ac8c2211a348763145b7ca1 to your computer and use it in GitHub Desktop.
Update All Fields Macro for MS Office Word
Sub UpdateAllFields()
'
' UpdateAllFields Macro
'
'
Dim oStory As Range
Dim oField As Field
For Each oStory In ActiveDocument.StoryRanges
For Each oField In oStory.Fields
oField.Update
Next oField
Next oStory
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment