Formatting document for multiple headers and different pages

A

Anonymous

I have a program that creates a merge document and places the document
on the clipboard. I then open Word (I use both 2003 & 2007) and the
PASTE the document from the clipboard into Word. Please don't
question why it does it that way, it just does and I cannot change it.
The merge is done internally to the program and then I have to PASTE
it into WORD.

I have a merged document that has 4 separate letters that each require
letterhead. That is: Documents 1, 2, and 3 are one page each and are
each on letterhead. Document 4 is a multiple page letter where the
1st page is letterhead and all subsequent pages are on non-letterhead.

The problem is that when I paste the document into Word it makes each
page letterhead. I have tried Section Breaks, but it doesn't work
because when I paste, everything pastes into SECTION 1.

The only thing I can think of is to hard code some text right into the
document so that when I paste, WORD thinks that it is a section break.
For example, I would actually code {^b} or something like that right
into the document, and then when I paste into WORD it would place a
section break.

I am all ears on how I might accomplish this. Thank you in advance
for your help.
 
S

Suzanne S. Barnhill

Given these limitations, if the document invariably has the same
configuration (that is, it is always four pages on letterhead and the
remaining pages not), then I would use an IF field as follows:

{ IF { PAGE } > 4 "[Header you want on pp. 5ff]" "[Letterhead]" }

Alternatively, if you want no header at all on pp. 5ff, you can use:

{ IF { PAGE } < 5 "[Letterhead]" }

In either case, create the header/letterhead outside the IF field and then
select it and paste it between the quotes in place of the bracketed text
(which is for illustration purposes only). It will make for a very ungainly
field construction, but it should give the result you want.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
F

Fritz Wuehler

Perfect! Thank you. The only thing I would add is that the {} must be
added with the ctrl+F9 key. Other than that, this was a great fix to my
issue.
 
S

Suzanne S. Barnhill

Yes, I tend to forget that it's necessary to remind people here that field
delimiters must be entered with Ctrl+F9 and can't be typed from the keyboard
(alternatively, you can use Insert | Field or Insert | Text | Quick Parts |
Field).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

in message
news:[email protected]...
 

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