Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2007

Tip: Looking for answers? Try searching our database.

headers with an optional text phrase on some pages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chip Orange - 16 Jul 2007 16:00 GMT
We need to create a document that is capable of having the word "Revised"
added to the headers of some pages (those that have been revised since the
last approved set of changes).  We are willing to identify each page
manually, but we aren't willing to add a section break at the top and bottom
of each page in order to redo the headers slightly differently just for that
page.

Are there any ideas for using fields which could optionally return the word
"revised" say, if a comment was placed on the page, or a bookmark with a
name matching a certain pattern, or any such clue that the page has been
revised?

Thanks.

Chip
Doug Robbins - Word MVP - 17 Jul 2007 05:48 GMT
You may be able to do it with a Styleref field.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> We need to create a document that is capable of having the word "Revised"
> added to the headers of some pages (those that have been revised since the
[quoted text clipped - 11 lines]
>
> Chip
Russ - 17 Jul 2007 08:43 GMT
Have you look at the menu Tools/Track Changes...

Use that system by itself for more profession tracking.

Through VBA you could also then go through the revisions collection and when
a revision is found put a message in that page's header then accept the
revisions.

That menu also has a document comparison submenu.

> We need to create a document that is capable of having the word "Revised"
> added to the headers of some pages (those that have been revised since the
[quoted text clipped - 11 lines]
>
> Chip

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

Chip Orange - 17 Jul 2007 14:58 GMT
I'm afraid this won't work unless I create a section break before and after
each revised page (this is needed in order to then change "the page's
headers" as you suggest).

The styleref field as the other suggestion won't work because it will simply
search the entire document, forward or backward, not the current page only.
If I'm mis-understanding the answer, please explain a little further.

Thanks for both responses.

Chip

> Have you look at the menu Tools/Track Changes...
>
[quoted text clipped - 26 lines]
>>
>> Chip
Russ - 17 Jul 2007 19:05 GMT
Chip,
See below.

> I'm afraid this won't work unless I create a section break before and after
> each revised page (this is needed in order to then change "the page's
> headers" as you suggest).
You can also change a single header by changing the next header's "link to
previous" property. But it would not stay 'anchored' to a particular piece
of text, for example, if the revision got pushed to another page.

Doug's styleref answer might be best.
To paraphrase stylerefs, as I understand them, they can detect the first
and/or last instance of a specific style format on a page. The are often
compared to headings in dictionaries that show you the first and last word
defined on that page. So even if you add or delete text; stylerefs, after
updating the field, show you the new first and last instance of that special
style that you set it up for on that page.

But how does track changes fail you. It highlights any changes by author,
etc.

> The styleref field as the other suggestion won't work because it will simply
> search the entire document, forward or backward, not the current page only.
[quoted text clipped - 34 lines]
>>>
>>> Chip

Signature

Russ

drsmN0SPAMikleAThotmailD0Tcom.INVALID

Peter Jamieson - 23 Jul 2007 15:46 GMT
You may be able to modify and use the approach titled Advanced Conditional
Headers and Footers

at

http://gregmaxey.mvps.org/Conditional_Headers_Footers.htm

Peter Jamieson

> We need to create a document that is capable of having the word "Revised"
> added to the headers of some pages (those that have been revised since the
[quoted text clipped - 11 lines]
>
> Chip
Chip Orange - 31 Aug 2007 15:27 GMT
Peter,

This solution is oooo cool!!! :)  I'm sure I'll be able to use it to do what
I need, which is almost exactly like the original application, except that I
only have two possible conditions: not revised (nothing added to the
header), and revised (the word "revised" added to the header).  If I can
find an easy way to get the users the ability to add the text marker fields
I'm sure this will do it.

Thanks!!!

Chip

> You may be able to modify and use the approach titled Advanced Conditional
> Headers and Footers
[quoted text clipped - 20 lines]
>>
>> Chip

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.