Is there a way to force the fields inside the header/footer to
refresh/update but on for the page the user is currently on?
I want to be able to update this without the need to update all sections and
pages so that it is much faster when just dealing with one page.

Re: Update fields in Header/Footer by Greg

Greg
Fri Mar 31 11:01:29 CST 2006

ML,

Not sure I understand exactly what you are trying to do. You might be
able to adapt one of the field macros provided here to suit your
particular need:
http://gregmaxey.mvps.org/Field_Macros.htm


Re: Update fields in Header/Footer by Doug

Doug
Fri Mar 31 11:52:43 CST 2006

Probably this

With Selection.Sections(1)
.Headers(wdHeaderFooterPrimary).Range.Fields.Update
.Headers(wdHeaderFooterFirstPage).Range.Fields.Update
.Footers(wdHeaderFooterFirstPage).Range.Fields.Update
.Footers(wdHeaderFooterPrimary).Range.Fields.Update
End With

but I would be very surprised if you were able to detect the difference in
performance between that and

Dim i As Long
With ActiveDocument
For i = 1 To .Sections.Count
With .Sections(i)
.Headers(wdHeaderFooterPrimary).Range.Fields.Update
.Headers(wdHeaderFooterFirstPage).Range.Fields.Update
.Footers(wdHeaderFooterFirstPage).Range.Fields.Update
.Footers(wdHeaderFooterPrimary).Range.Fields.Update
End With
Next i
End With

which will update the fields in all of the headers and footers in the
document.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"ML" <schooner@accesswave.ca> wrote in message
news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
> Is there a way to force the fields inside the header/footer to
> refresh/update but on for the page the user is currently on?
> I want to be able to update this without the need to update all sections
> and pages so that it is much faster when just dealing with one page.
>



Re: Update fields in Header/Footer by ML

ML
Fri Mar 31 12:49:11 CST 2006

The performance issues is because Word repaginates it seems no matter what
you do and in a long document it slows things down too much.

"Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
news:eIkbrvOVGHA.2156@tk2msftngp13.phx.gbl...
> Probably this
>
> With Selection.Sections(1)
> .Headers(wdHeaderFooterPrimary).Range.Fields.Update
> .Headers(wdHeaderFooterFirstPage).Range.Fields.Update
> .Footers(wdHeaderFooterFirstPage).Range.Fields.Update
> .Footers(wdHeaderFooterPrimary).Range.Fields.Update
> End With
>
> but I would be very surprised if you were able to detect the difference in
> performance between that and
>
> Dim i As Long
> With ActiveDocument
> For i = 1 To .Sections.Count
> With .Sections(i)
> .Headers(wdHeaderFooterPrimary).Range.Fields.Update
> .Headers(wdHeaderFooterFirstPage).Range.Fields.Update
> .Footers(wdHeaderFooterFirstPage).Range.Fields.Update
> .Footers(wdHeaderFooterPrimary).Range.Fields.Update
> End With
> Next i
> End With
>
> which will update the fields in all of the headers and footers in the
> document.
>
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "ML" <schooner@accesswave.ca> wrote in message
> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>> Is there a way to force the fields inside the header/footer to
>> refresh/update but on for the page the user is currently on?
>> I want to be able to update this without the need to update all sections
>> and pages so that it is much faster when just dealing with one page.
>>
>
>



Re: Update fields in Header/Footer by Charles

Charles
Fri Mar 31 16:54:26 CST 2006

Headers and footers are not in just one page, but one section (which may be
the entire document).
--
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://word.mvps.org/FAQs/ 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.


"ML" <schooner@accesswave.ca> wrote in message
news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
> Is there a way to force the fields inside the header/footer to
> refresh/update but on for the page the user is currently on?
> I want to be able to update this without the need to update all sections
> and pages so that it is much faster when just dealing with one page.
>



Re: Update fields in Header/Footer by Jezebel

Jezebel
Fri Mar 31 17:07:16 CST 2006

Updating fields in headers and footers for some vs all sections will have no
effect on Word's repagination.




"ML" <schooner@accesswave.ca> wrote in message
news:%23YvAfPPVGHA.4608@tk2msftngp13.phx.gbl...
> The performance issues is because Word repaginates it seems no matter what
> you do and in a long document it slows things down too much.
>
> "Doug Robbins - Word MVP" <dkr@REMOVETHISmvps.org> wrote in message
> news:eIkbrvOVGHA.2156@tk2msftngp13.phx.gbl...
>> Probably this
>>
>> With Selection.Sections(1)
>> .Headers(wdHeaderFooterPrimary).Range.Fields.Update
>> .Headers(wdHeaderFooterFirstPage).Range.Fields.Update
>> .Footers(wdHeaderFooterFirstPage).Range.Fields.Update
>> .Footers(wdHeaderFooterPrimary).Range.Fields.Update
>> End With
>>
>> but I would be very surprised if you were able to detect the difference
>> in performance between that and
>>
>> Dim i As Long
>> With ActiveDocument
>> For i = 1 To .Sections.Count
>> With .Sections(i)
>> .Headers(wdHeaderFooterPrimary).Range.Fields.Update
>> .Headers(wdHeaderFooterFirstPage).Range.Fields.Update
>> .Footers(wdHeaderFooterFirstPage).Range.Fields.Update
>> .Footers(wdHeaderFooterPrimary).Range.Fields.Update
>> End With
>> Next i
>> End With
>>
>> which will update the fields in all of the headers and footers in the
>> document.
>>
>>
>> --
>> Hope this helps.
>>
>> Please reply to the newsgroup unless you wish to avail yourself of my
>> services on a paid consulting basis.
>>
>> Doug Robbins - Word MVP
>>
>> "ML" <schooner@accesswave.ca> wrote in message
>> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>>> Is there a way to force the fields inside the header/footer to
>>> refresh/update but on for the page the user is currently on?
>>> I want to be able to update this without the need to update all sections
>>> and pages so that it is much faster when just dealing with one page.
>>>
>>
>>
>
>



Re: Update fields in Header/Footer by ML

ML
Fri Mar 31 17:19:24 CST 2006

I am well aware of that. I was just hoping there might be a way to just
refresh the current page fields or something along those lines.

"Charles Kenyon" <wordfaq@nospam.addbalance.com> wrote in message
news:uFeDPYRVGHA.4348@TK2MSFTNGP09.phx.gbl...
> Headers and footers are not in just one page, but one section (which may
> be the entire document).
> --
> 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://word.mvps.org/FAQs/ 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.
>
>
> "ML" <schooner@accesswave.ca> wrote in message
> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>> Is there a way to force the fields inside the header/footer to
>> refresh/update but on for the page the user is currently on?
>> I want to be able to update this without the need to update all sections
>> and pages so that it is much faster when just dealing with one page.
>>
>
>



Re: Update fields in Header/Footer by Jezebel

Jezebel
Fri Mar 31 18:37:30 CST 2006

If you are well aware of that, the hope is self-evidently absurd.



"ML" <schooner@accesswave.ca> wrote in message
news:Oue4emRVGHA.2276@tk2msftngp13.phx.gbl...
>I am well aware of that. I was just hoping there might be a way to just
>refresh the current page fields or something along those lines.
>
> "Charles Kenyon" <wordfaq@nospam.addbalance.com> wrote in message
> news:uFeDPYRVGHA.4348@TK2MSFTNGP09.phx.gbl...
>> Headers and footers are not in just one page, but one section (which may
>> be the entire document).
>> --
>> 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://word.mvps.org/FAQs/ 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.
>>
>>
>> "ML" <schooner@accesswave.ca> wrote in message
>> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>>> Is there a way to force the fields inside the header/footer to
>>> refresh/update but on for the page the user is currently on?
>>> I want to be able to update this without the need to update all sections
>>> and pages so that it is much faster when just dealing with one page.
>>>
>>
>>
>
>



Re: Update fields in Header/Footer by ML

ML
Fri Mar 31 18:40:47 CST 2006

Well despite headers and footers not being page specific you can make them
have page specific info displayed in them.
Thanks though for your comment, very helpful.

"Jezebel" <warcrimes@whitehouse.gov> wrote in message
news:%23IBh6RSVGHA.1304@tk2msftngp13.phx.gbl...
> If you are well aware of that, the hope is self-evidently absurd.
>
>
>
> "ML" <schooner@accesswave.ca> wrote in message
> news:Oue4emRVGHA.2276@tk2msftngp13.phx.gbl...
>>I am well aware of that. I was just hoping there might be a way to just
>>refresh the current page fields or something along those lines.
>>
>> "Charles Kenyon" <wordfaq@nospam.addbalance.com> wrote in message
>> news:uFeDPYRVGHA.4348@TK2MSFTNGP09.phx.gbl...
>>> Headers and footers are not in just one page, but one section (which may
>>> be the entire document).
>>> --
>>> 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://word.mvps.org/FAQs/ 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.
>>>
>>>
>>> "ML" <schooner@accesswave.ca> wrote in message
>>> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>>>> Is there a way to force the fields inside the header/footer to
>>>> refresh/update but on for the page the user is currently on?
>>>> I want to be able to update this without the need to update all
>>>> sections and pages so that it is much faster when just dealing with one
>>>> page.
>>>>
>>>
>>>
>>
>>
>
>



Re: Update fields in Header/Footer by Jezebel

Jezebel
Fri Mar 31 19:55:40 CST 2006

Gegen der Dummheit kämpfen die Götter selbst vergebens.


"ML" <schooner@accesswave.ca> wrote in message
news:uGNR9TSVGHA.4976@TK2MSFTNGP11.phx.gbl...
> Well despite headers and footers not being page specific you can make them
> have page specific info displayed in them.
> Thanks though for your comment, very helpful.
>
> "Jezebel" <warcrimes@whitehouse.gov> wrote in message
> news:%23IBh6RSVGHA.1304@tk2msftngp13.phx.gbl...
>> If you are well aware of that, the hope is self-evidently absurd.
>>
>>
>>
>> "ML" <schooner@accesswave.ca> wrote in message
>> news:Oue4emRVGHA.2276@tk2msftngp13.phx.gbl...
>>>I am well aware of that. I was just hoping there might be a way to just
>>>refresh the current page fields or something along those lines.
>>>
>>> "Charles Kenyon" <wordfaq@nospam.addbalance.com> wrote in message
>>> news:uFeDPYRVGHA.4348@TK2MSFTNGP09.phx.gbl...
>>>> Headers and footers are not in just one page, but one section (which
>>>> may be the entire document).
>>>> --
>>>> 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://word.mvps.org/FAQs/ 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.
>>>>
>>>>
>>>> "ML" <schooner@accesswave.ca> wrote in message
>>>> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>>>>> Is there a way to force the fields inside the header/footer to
>>>>> refresh/update but on for the page the user is currently on?
>>>>> I want to be able to update this without the need to update all
>>>>> sections and pages so that it is much faster when just dealing with
>>>>> one page.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: Update fields in Header/Footer by ML

ML
Fri Mar 31 20:36:50 CST 2006

Thanks again.

"Jezebel" <warcrimes@whitehouse.gov> wrote in message
news:%23CM%23n9SVGHA.5044@TK2MSFTNGP09.phx.gbl...
> Gegen der Dummheit kämpfen die Götter selbst vergebens.
>
>
> "ML" <schooner@accesswave.ca> wrote in message
> news:uGNR9TSVGHA.4976@TK2MSFTNGP11.phx.gbl...
>> Well despite headers and footers not being page specific you can make
>> them have page specific info displayed in them.
>> Thanks though for your comment, very helpful.
>>
>> "Jezebel" <warcrimes@whitehouse.gov> wrote in message
>> news:%23IBh6RSVGHA.1304@tk2msftngp13.phx.gbl...
>>> If you are well aware of that, the hope is self-evidently absurd.
>>>
>>>
>>>
>>> "ML" <schooner@accesswave.ca> wrote in message
>>> news:Oue4emRVGHA.2276@tk2msftngp13.phx.gbl...
>>>>I am well aware of that. I was just hoping there might be a way to just
>>>>refresh the current page fields or something along those lines.
>>>>
>>>> "Charles Kenyon" <wordfaq@nospam.addbalance.com> wrote in message
>>>> news:uFeDPYRVGHA.4348@TK2MSFTNGP09.phx.gbl...
>>>>> Headers and footers are not in just one page, but one section (which
>>>>> may be the entire document).
>>>>> --
>>>>> 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://word.mvps.org/FAQs/ 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.
>>>>>
>>>>>
>>>>> "ML" <schooner@accesswave.ca> wrote in message
>>>>> news:OAk5GkNVGHA.5724@TK2MSFTNGP10.phx.gbl...
>>>>>> Is there a way to force the fields inside the header/footer to
>>>>>> refresh/update but on for the page the user is currently on?
>>>>>> I want to be able to update this without the need to update all
>>>>>> sections and pages so that it is much faster when just dealing with
>>>>>> one page.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>