automaticly copy text to header

H

Harold Anderson

I want a my template file to automaticly copy a text item (file or case
number) into the header so that it will print on each page 2 throough the end
of the document. Anyone know how this can be done?
 
D

Doug Robbins - Word MVP

Copy from where?

Many ways to do it, depending upon the answer to that question. If the file
number was being entered into a userform, it could be written to a document
variable and then displayed where required in the document by the use of
DocVariable field.

See the following page of fellow MVP Greg Maxey's website :

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


Also check out the use of cross-references REF field and/or STYLEREF field

--
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, originally posted via msnews.microsoft.com
 
M

macropod

Hi Harold,

If you setup your document with a 'different first page' layout and use a unique Style definition for the file or case number, you
can use a STYLEREF field in the second page header to replicate the file or case number on the second and subsequent pages. No vba
required.
 

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