Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Tiddy McNipples[_2_] Tiddy McNipples[_2_] is offline
external usenet poster
 
Posts: 1
Default Manipulating page header based on pages criteria

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


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Manipulating page header based on pages criteria

Have you looked at the StyleRef field (see
http://sbarnhill.mvps.org/WordFAQs/StyleRef.htm)?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Tiddy McNipples" wrote in
message ...
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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manipulating page numbers PPT_green Page Layout 2 June 25th 07 09:36 PM
how to delete some pages entirely but not change anything of other pages'(including page header and page footer)? Zhukf Page Layout 1 March 9th 07 12:05 PM
how to delete some pages but not change anything of other pages'(including page header and page footer)? Zhukf Page Layout 1 March 6th 07 02:09 AM
Counting rows based on a criteria Peter Tables 3 November 16th 06 11:57 PM
Header and footer text based on page content Greg Page Layout 0 August 8th 06 01:18 PM


All times are GMT +1. The time now is 10:59 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"