Re: updating includetext fields from a macro

Subject: Re: updating includetext fields from a macro
From: Steve Hudson <sh1448291904 -at- gmail -dot- com>
To: Jay Maechtlen <techwriter -at- laserpubs -dot- com>
Date: Wed, 10 Jun 2015 16:24:41 +0800

At this stage my main concern is more about is the 'update source' then
'update field' enough to pull the updated material from its SharePoint
location, because you originally indicated that the 'updated source' alone
wasn't doing the job.

On 10 June 2015 at 13:20, Jay Maechtlen <techwriter -at- laserpubs -dot- com> wrote:

> Since there are many included files and many TOC fields, I'd rather make
> sure the includetext fields get updated first.
> Then I loop through and update each TOC completely.
> Then, knowing that the doc has its final length and pagination, I loop
> back through and update each TOC, page numbers only.
>
> When I get a few moments, I'll go through and have another look.
> There has to be some way to know if a field updated or not, perhaps by
> looking at file date or such.
>
> On 6/8/2015 12:20 PM, Weissman, Jessica wrote:
>
>> 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


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
Re: updating includetext fields from a macro: From: Jay Maechtlen

Previous by Author: Re: updating includetext fields from a macro
Next by Author: Re: Ask for a raise? Or pack my bags?
Previous by Thread: Re: updating includetext fields from a macro
Next by Thread: Re: What's the benefit in getting a PMP certification in project management?


What this post helpful? Share it with friends and colleagues:

Sponsored Ads


Sponsored Ads