How to update fields in all header definitions
I need to toggle a document between two sets of field values. I have everything working except that ActiveDocument.Fields.Update does not update fields in the page header and footer. I recorded some code to do this but it only updates the header for the section where the cursor is located. I think the object I need is something like the following, but I'm having trouble with indexes and For loops.
ActiveDocument.Sections(iSectInd).Headers(1).Range .Fields.Update
Can someone help untangle this? Thank!
|