automaticly copy text to header

  • Follow


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?
0
Reply Utf 12/31/2009 8:56:01 PM

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

"Harold Anderson" <Harold Anderson@discussions.microsoft.com> wrote in 
message news:E04D9659-B31D-4CF9-8FD4-9725FBCE8057@microsoft.com...
> 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? 

0
Reply Doug 12/31/2009 10:40:09 PM


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.

-- 
Cheers
macropod
[Microsoft MVP - Word]


"Harold Anderson" <Harold Anderson@discussions.microsoft.com> wrote in message 
news:E04D9659-B31D-4CF9-8FD4-9725FBCE8057@microsoft.com...
>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? 

0
Reply macropod 1/1/2010 4:34:41 AM

2 Replies
338 Views

(page loaded in 0.099 seconds)


Reply: