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 / October 2006

Tip: Looking for answers? Try searching our database.

Header and Footer Hell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NYSA-HD - 11 Oct 2006 18:08 GMT
Hi All,

I have a document where each section of pages is named for a date the
information was recorded.  For example on page 3 midpage it might read
Wednesday, October 4, 2006 with an index marker afterwards  then on page 15
it might read at the top or midsection Monday, October 9, 2006 followed by a
index marker afterwards.

I need to create a macro that places a header in my document on each page
indicating the Day and Date pertaining to that page.  For example for the
above pages 3-14 would read Wednesday October 4 and pages 15+ would read
Monday, October 9.

Any ideas????
Greg Maxey - 11 Oct 2006 18:39 GMT
You could use a STYLEREF Field.

For example,  create a style (call it MyDate), apply that style to the
date text on each page.

In the header insert field braces using ALT+F9 and type in STYLEREF
MyDate.

Toggle the field code.

> Hi All,
>
[quoted text clipped - 10 lines]
>
> Any ideas????
NYSA-HD - 20 Oct 2006 19:57 GMT
This worked perfectly and samed me a lot of work!

Thanks.

> You could use a STYLEREF Field.
>
[quoted text clipped - 20 lines]
> >
> > Any ideas????
 
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.