REF docNum in Footer?

B

Barry Prentiss

Hi,
I'm trying to populate a REF in the footer of a Word form document, but
can't get the footer REF to update when the form field "docNum" is updated.
Have any clues?
Thx,
Barry
 
D

Doug Robbins - Word MVP

Run a macro containing the following code on exit from the docNum formfield

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


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

Barry Prentiss

Thx Doug,
Works perfectly...
Barry




Doug Robbins - Word MVP said:
Run a macro containing the following code on exit from the docNum
formfield

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


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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top