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 / April 2005

Tip: Looking for answers? Try searching our database.

Header Script

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joshua73 - 19 Apr 2005 11:00 GMT
Does anyone know how can i write a scpript that creates a header with the
first and last paragraph headline on the top of each page, just like
dictionaries do?
Chuck - 19 Apr 2005 11:45 GMT
You don't need a script.  Use StyleRef fields.  The subject is covered in
Word Help (search for "StyleRef" and you should get a result "Print
dictionary-style page headers".

> Does anyone know how can i write a scpript that creates a header with the
> first and last paragraph headline on the top of each page, just like
> dictionaries do?
Anand.V.V.N - 19 Apr 2005 11:56 GMT
Hi Joshua ,

I think it can be done. Do you want to make it a macro or as a event that is
to be fired when user clicks a button or something. Should it be done for the
existing document. This should be easy as you can pickup the lines you want
from within the page and set is as a header, that's possible, There is a
property that you can, different hearder for different pages, I am not sure
about that property, usign that you can set a different hearder to different
pages.

Best option would be to make a template that has this macro, so any document
that is created based on this template will have headers and footers of this
kind.

Hope this was helpful.

Anand

> Does anyone know how can i write a scpript that creates a header with the
> first and last paragraph headline on the top of each page, just like
> dictionaries do?
 
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.