Created
September 30, 2016 06:23
-
-
Save tdalon/fe5f6f705ac8c2211a348763145b7ca1 to your computer and use it in GitHub Desktop.
Update All Fields Macro for MS Office Word
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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