• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 394
  • Last Modified:

MS Word - dynamic header

I would like to create a Word Document - where somewhere in the text of each page there's a single ID#,  and this ID# is shown in the header.  Each page has it's own ID# and they're not sequential - though I could create a standardized way of entering the ID on each page so that Word can identify it and know what to show in the header.
Is there a way to do that in MS Word 07 (or if nec. Word '10)

thx
0
endurance
Asked:
endurance
  • 4
  • 2
1 Solution
 
GrahamSkanRetiredCommented:
Set the style of the IDs to something that isn't used elsewhere in the document (create a new one if necessary.
Then, in the header, create a StyleRef field that uses that style
0
 
enduranceAuthor Commented:
Awesome!!
thanks so much
0
 
enduranceAuthor Commented:
One follow up Q
Sometimes the text on a particular ID spans more than 1 page, so the ID isn't shown in the text of the page.
Is there a way to have Word keep the previous ID if no ID is present in the current page?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
GrahamSkanRetiredCommented:
The same ID will show on subsequent pages until the next page with an instance of the style is met.
0
 
enduranceAuthor Commented:
Awesome, thanks so much
0
 
enduranceAuthor Commented:
One issue that I encountered - the ID's are not always at the beginning of a line or on it's own line and it doesn't seem to recognize them when they are in the middle of a line.  Any idea?
thx
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now