
TITLE field won't update in header table
Hi, Cindy,
Your tip about switching between Normal and PrintLayout
view worked to update the field in my header, so that I
didn't even need to look into the VB code.
However, I'm keeping that info in my back pocket for
future reference.
Thank you very much for solving my problem (two ways!).
Karen
Quote:
>-----Original Message-----
>Hi Karen,
>Fields in the header should update when you switch
between
>Normal and PringLayout view, or into and out of
PrintPreview.
>Using a macro to update the fields in this particular
>document, something like this should work:
>Sub UpdateMyFields()
> ActiveDocument.Fields.Update
> ActiveDocument.Sections(1).Headers( _
> wdHeaderFooterPrimary).Range.Fields.Update
>End Sub
>> I've inserted the field TITLE in two places. On the
first
>> page of the document, it updates fine once I Select All
>> and hit "F9" to update all fields.
>> The second place I've inserted the field TITLE is in a
two-
>> column table that I've inserted in the heading of the
>> remaining pages (different first page). This field does
>> not update at all, even after the "F9" procedure and
even
>> after saving, closing, and re-opening the document.
>Cindy Meister
>INTER-Solutions, Switzerland
>http://homepage.swissonline.ch/cindymeister
>http://www.mvps.org/word
>http://go.compuserve.com/MSOfficeForum
>This reply is posted in the Newsgroup; please post any
follow
>question or reply in the newsgroup and not by e-mail :-)
>.