Re: updating includetext fields from a macro
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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You are currently subscribed to TECHWR-L as techwriter -at- laserpubs -dot- com -dot-
To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com
Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.
Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com
Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives
--
Jay Maechtlen
626 444-5112 office
626 840-8875 cell
www.laserpubs.com
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Learn more about Adobe Technical Communication Suite (2015 Release) | http://bit.ly/1FR7zNW
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-
To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com
Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.
Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com
Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives
Follow-Ups:
- Re: updating includetext fields from a macro, Steve Hudson
References:
Re: updating includetext fields from a macro: From: Jay Maechtlen
Re: updating includetext fields from a macro: From: Keith Hood
Re: updating includetext fields from a macro: From: Jay Maechtlen
Re: updating includetext fields from a macro: From: Mike Starr
Re: updating includetext fields from a macro: From: Steve Hudson
RE: updating includetext fields from a macro: From: Weissman, Jessica
Previous by Author:
Re: updating includetext fields from a macro
Next by Author:
Re: Politically correct term for four-eyes authorization?
Previous by Thread:
RE: updating includetext fields from a macro
Next by Thread:
Re: updating includetext fields from a macro
Search our Technical Writing Archives & Magazine
Visit TechWhirl's Other Sites
Sponsored Ads