TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:RE: updating includetext fields from a macro From:"Weissman, Jessica" <WeissmanJ -at- abacustech -dot- com> To:Steve Hudson <sh1448291904 -at- gmail -dot- com> Date:Mon, 8 Jun 2015 19:20:59 +0000
Last time I tested activedocument.fields.update it updated only the fields in the main text story. That should be sufficient for includetext fields.
If you want to update everything including headers and footers and footnotes and all that, use this. Tested in 2007 and 2010.
Sub UpdateAllFieldsEverywhere()
' updates fields in all stories, not just main text
'variable declaration
Dim story As Word.Range
For Each story In ActiveDocument.StoryRanges
story.Fields.Update
Next story
End Sub
- Jessica
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Learn more about Adobe Technical Communication Suite (2015 Release) | http://bit.ly/1FR7zNW