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 / Mailmerge and Fax / January 2004

Tip: Looking for answers? Try searching our database.

Conditionally add last page w/out headers and footers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max - 16 Jan 2004 12:03 GMT
I have a mail merge document which is basically a letter with a form
at the end that is included conditionally.

The problem is that all the pages of the letter use headers and
footers, while the form at the end requires no header and footer.  If
I put a page section break at the end of the letter, then break the
header and footer connection and conditionally use INCLUDETEXT to
insert the form from another document, all looks fine apart from when
the form is not present.  In this case a blank page is included at the
end of each letter.  If I try to include the page section break in the
condition, it plays havoc with my other headers and footers.  A page
break retains the previous header and footer so is no good either.

What I want to achieve seems quite simple: append a document at the
end of a mail merge letter conditionally, while retaining the
formatting of the appended document and without printing blank pages!

Any help with this greatly appreciated.

---
Max
Graham Mayor - 16 Jan 2004 12:41 GMT
You could make the header conditional on the page number eg if the form is
of one page then
{IF {Page} <= {=({Numpages} - 1}) "Put your header here"}
If the header is complex then save it as an autotext entry and use the above
to place an auotext field where indicated.
Adjust the calculation to account for the required number of pages in the
form.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP
      E-mail gmayor@mvps.org
     Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> I have a mail merge document which is basically a letter with a form
> at the end that is included conditionally.
[quoted text clipped - 17 lines]
> ---
> Max
Max - 17 Jan 2004 19:13 GMT
Thanks for the advice; I'm certain this will do this trick.  I'll get to it Monday.

Thanks for your help, Graham.

---
Max

> You could make the header conditional on the page number eg if the form is
> of one page then
[quoted text clipped - 3 lines]
> Adjust the calculation to account for the required number of pages in the
> form.
 
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.