Re: Update footer Fields
- From: "Charles Kenyon" <msnewsgroup@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 May 2005 12:48:45 -0500
That link has the code to force updates of this field. Did you go through
the entire article rather than just insert the field?
--
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"John" <john_corangamite@xxxxxxxxxxx> wrote in message
news:ujzIw%23jYFHA.2076@xxxxxxxxxxxxxxxxxxxxxxx
> Thanks for the link. That is the example I used and resulted in the
> problem i'm having.
>
> John
>
> "Charles Kenyon" <msnewsgroup@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> message news:etK$BgiYFHA.2664@xxxxxxxxxxxxxxxxxxxxxxx
>> http://gregmaxey.mvps.org/File_Name_And_Path.htm.
>> --
>> Charles Kenyon
>>
>> Word New User FAQ & Web Directory: http://addbalance.com/word
>>
>> Intermediate User's Guide to Microsoft Word (supplemented version of
>> Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
>>
>> See also the MVP FAQ: http://www.mvps.org/word which is awesome!
>> --------- --------- --------- --------- --------- ---------
>> This message is posted to a newsgroup. Please post replies
>> and questions to the newsgroup so that others can learn
>> from my ignorance and your wisdom.
>>
>> "John" <john_corangamite@xxxxxxxxxxx> wrote in message
>> news:O0WOb3XYFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hi,
>>>
>>> I have the following Field in the footer of a template. It updates fine
>>> when printed but I am trying to get it to update when I do a FileSaveAs.
>>>
>>> {FILENAME \* Lower \* MERGEFORMAT }{if{numpages}>{page}" /more"}
>>>
>>> I have included some code to update these fields and the FILENAME
>>> updates OK, but the second part doesn't.
>>>
>>> Sub FileSaveAs()
>>> For Each pRange In ActiveDocument.StoryRanges
>>> Do
>>> For Each oFld In pRange.Fields
>>> oFld.Update
>>> Next oFld
>>> Set pRange = pRange.NextStoryRange
>>> Loop Until pRange Is Nothing
>>> Next
>>> End Sub
>>>
>>> Any suggestions what I can do to make the second part update?
>>>
>>> Thanks,
>>>
>>> John
>>>
>>
>>
>
>
.
- References:
- Update footer Fields
- From: John
- Re: Update footer Fields
- From: Charles Kenyon
- Re: Update footer Fields
- From: John
- Update footer Fields
- Prev by Date: Re: normal.dot takes 27mb memory...
- Next by Date: Navigating comments
- Previous by thread: Re: Update footer Fields
- Next by thread: Display todays date + 10 working days
- Index(es):
Relevant Pages
|