Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2012, 07:32 AM
KenBrown KenBrown is offline Display contents of global variable in headers Windows 7 64bit Display contents of global variable in headers Office 2010 64bit
Novice
Display contents of global variable in headers
 
Join Date: Aug 2012
Posts: 1
KenBrown is on a distinguished road
Default Display contents of global variable in headers

I have a document (Word 2010) that has about 20 sections and 20 unique headers/footers.



I'd like to change one thing in all the headers from time to time but since they are unique I currently have to edit each one separately.

I was wondering if I could assign a value (like 'Revision A1') to a field code or variable of some kind, then reference that field code or variable in each of the headers.

If so, I could simply change the value of the field code or variable and all my headers would be updated.

Is there a way to do this?
Reply With Quote
  #2  
Old 08-16-2012, 07:44 AM
Charles Kenyon Charles Kenyon is online now Display contents of global variable in headers Windows Vista Display contents of global variable in headers Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 6,526
Charles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to behold
Default

The simplest way to do this is with a DOCPROPERTY field. You can make a custom document property to hold your information.

Otherwise, look into the STYLEREF field. If you put your information on say your cover page and format it with a unique character style (which may look the same as surrounding text), you can use the STYLEREF field to repeat that information wherever you want.

If the only reason for having unique headers/footers is so they can reflect the contents of the section, the STYLEREF field will do that as well in one header/footer continued through all your sections.
http://office.microsoft.com/en-us/wo...in=HA102110133
Reply With Quote
  #3  
Old 08-16-2012, 07:47 AM
Charles Kenyon Charles Kenyon is online now Display contents of global variable in headers Windows Vista Display contents of global variable in headers Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 6,526
Charles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to behold
Default

You can access document properties, document variables, and other repeating data fairly easily.
See Bookmarks, variables, document properties and content controls editor
and "Content Control/Variable/Bookmark and Document Property Tools" Add-In (two versions of instructions for the same Add-In.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual Table of Contents - Chapter Headers are Images godofpool Word 1 07-04-2012 03:39 PM
Display contents of global variable in headers Run-time error '91': Object variable or With block variable not set tinfanide Excel Programming 2 06-10-2012 10:17 AM
Display contents of global variable in headers Global Settings lefttoday Word 3 02-03-2011 03:34 PM
Display contents of global variable in headers Global template ryalls3857 Word 1 12-27-2010 05:45 PM
Include headers in table of contents bwhight Word 1 10-10-2006 08:59 AM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 06:51 AM.


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