Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MS Word - dynamic header

Posted on 2013-05-22
6
Medium Priority
?
390 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
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…
Introduction This tutorial provides instructions on how to properly format your Word document using the inbuilt tools provided. The benefits of using these tools means your documents are more accessible and easily portable to other applications an…
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.
Suggested Courses

618 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