View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default How do I get my bookmarked legacy form to generate in Word header

It is worth noting that Doug's macro can be called as the 'on exit' macro for the formfields which are cross-referenced in the
header.

Another option might be to apply a unique Style to the formfields in question and use a STYLEREF field to pick up the content
reflecting the field's Style.

--
Cheers
macropod
[Microsoft MVP - Word]


"Doug Robbins - Word MVP" wrote in message ...
Assuming that you are using Cross-reference fields, using Print Preview will update such fields in the headers/footers of the
document.

That can be done using a macro containing the commands

With ActiveDocument
.PrintPreview
.ClosePrintPreview
End With

The alternative is to use code to iterate through all of the headers and footers in all of the Sections of the document and update
the fields in the range of each.

--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.

"Dom5smom" wrote in message ...
I am setting up a form and have set up several fields with references
throughout the document that will autofill once the user has filled in the
fields on the first page; however, the same fields will not autofill in the
page header that begins on page 2. Is there any way to do this? Once you
protect the document, the user is not able to access the header or I would
just make them edit it.

HELP!