![]() |
|
#1
|
|||
|
|||
|
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! |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Auto Update Fields Macro | kveldulv | Outlook | 0 | 06-07-2013 02:30 PM |
macro to update fields
|
PeaceDove | Word | 3 | 01-17-2012 02:45 PM |
| Macro to update fields | rhatx | Word VBA | 0 | 03-02-2011 12:14 PM |
| VBA to update certain (but not all) fields | sparkyrose | Word VBA | 0 | 05-20-2010 12:50 PM |
| Can no longer update fields! | slindsay | Word | 0 | 09-03-2009 05:10 PM |