?
Solved

MS Word - dynamic header

Posted on 2013-05-22
6
Medium Priority
?
383 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 2000 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction Authors who set out to write any sort of lengthy piece for online submission—be it a long question or comment on a technical form, an article, or a substantial blog entry—often find it useful to work up a draft in an editor other t…
If you work with Word a lot, you probably use styles. If you use styles a lot, you've probably balled your fist more often than not when working with the ribbon. In Word 2007/2010, one of the things that I find missing when using styles is a quic…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
Suggested Courses

777 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