Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-10-2014, 08:45 AM
ChrisBrewster ChrisBrewster is offline How to update fields in all header definitions Windows 7 64bit How to update fields in all header definitions Office 2010 64bit
Advanced Beginner
How to update fields in all header definitions
 
Join Date: Jan 2014
Posts: 36
ChrisBrewster is on a distinguished road
Default 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!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Update Fields Macro kveldulv Outlook 0 06-07-2013 02:30 PM
How to update fields in all header definitions 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft