Re: Update footer Fields

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: "Save as" always says "not responding" folders wont open
    ... "Charles Kenyon" wrote: ... installation. ... This message is posted to a newsgroup. ... be sure that Updates in checked. ...
    (microsoft.public.word.application.errors)
  • Re: Singular/Plural or He/she
    ... There are no updates but suggestions are welcome. ... This message is posted to a newsgroup. ... "Charles Kenyon" wrote: ... The gender toolbar uses document properties and changes pronouns based on ...
    (microsoft.public.word.mailmerge.fields)
  • Re: "Save as" always says "not responding" folders wont open
    ... be sure that Updates in checked. ... Word New User FAQ & Web Directory: http://addbalance.com/word ... This message is posted to a newsgroup. ... "Charles Kenyon" wrote: ...
    (microsoft.public.word.application.errors)
  • Re: Strange Server Behaviour
    ... Thanks for updates. ... I am Charles the backup of Brandy, as the Brandy is currently sick at home. ... Microsoft CSS Online Newsgroup Support ... | Subject: Re: Strange Server Behaviour ...
    (microsoft.public.windows.server.sbs)
  • RE: WSUS error
    ... Microsoft CSS Online Newsgroup Support ... When opening a new thread via the web interface, we recommend you check the ... | Thread-Topic: WSUS error ... I have it set via GPO to detect and schedule updates daily. ...
    (microsoft.public.windows.server.sbs)