merge fields at bottom of document causing two pages

F

fredsin

Hello,

I need to include a series of IF statements at the bottom of a lette
that inserts text based on a change in value for a mergefield.

For example, if the mergefield<Appeal>=Running event, I want the text t
read "Running event tax deduction is $10." And if is doesn't, nothing
If the mergefield<Appeal>= Walking Event, I want the text to rea
"Walking event tax deduction is $20." If it doesn't, nothing. And on an
on.

I want to add an unlimited number of these statements at the end of th
letter, because we have many events. When the event that satisfies th
IF statement is present as the Appeal, the text will appear for tha
event. So I have a string of IF statements like this:

{IF{MERGEFIELD Appeal_Descrition}="Running Event" "Running event ta
deduction is $10" ""}{IF{Mergefield Appeal_Description}="Walking Event
"Walking event tax decution is $20" ""}...and on....

This works just fine in placing the proper text on the change of th
mergefield value, but since the merge strings run over onto the nex
page, Word is spitting out a two page document instead of consolidatin
it onto one. The placement of the merged text is just fine....but i
still creates lines that run onto a second page. How do I avoid thos
extra lines from generating in the merged document? I've looked al
over the web for an answer, but have yet to find one that addresses thi
particular type of spacing issue.

Many thanks in advance for your help
 

macropod

Microsoft MVP
Joined
Mar 2, 2012
Messages
580
Reaction score
50
It doesn't really matter that your mergefields flow over onto a new page. When the mailmerge is executed, only the matching text for the relevant field will be output. Unless that text spills over onto the next page, you should have no problems.
 

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