Solved

MS Word - dynamic header

Posted on 2013-05-22
6
379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

690 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