Solved

MS Word - dynamic header

Posted on 2013-05-22
6
360 Views
Last Modified: 2013-05-26
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
Comment
Question by:endurance
  • 4
  • 2
6 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 39187924
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
 

Author Comment

by:endurance
ID: 39188547
Awesome!!
thanks so much
0
 

Author Comment

by:endurance
ID: 39188557
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39188858
The same ID will show on subsequent pages until the next page with an instance of the style is met.
0
 

Author Comment

by:endurance
ID: 39191099
Awesome, thanks so much
0
 

Author Comment

by:endurance
ID: 39197743
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now