Manipulating page header based on pages criteria

G

Guest

Is it at all possible to create a custom header in Word, based on some sort
of criteria on the corresponding page. For instance, lets take an
automatically generated report that contains data for 100 people, each
person's report could be between 1 and 5 pages long (total document could be
500 pages long), but somewhere on the first page of each section would appear
"Name: Last, First". Is there a way to search for the string: "Name:" and
take anything that appears on that line after the colon and insert it, along
with a code or string of text, into the header for that section.

For example:

line in document= Name: Doe, John

Header= <Here is the section for Doe, John>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top