Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Removing blank lines because of MERGEFIELD
We send out several letters to students per day. In those letters there are
spots where we add different text based upon some sort of status, residency for example. So using a {IF {MERGEFIELD Residency_Status = "Non-Resident" "Special Text goes here" ""} format we get what we want. Unfortunately if the condition is not met then nothing is printed, BUT there is still a big chunk of white space left for the text even though nothing is printed in that space. This makes the letter look a little funny and unprofessional. How can I get that blank white space area to go away if the criteria is not met. We are using Microsoft Office Word 2003. Thank you. -- Dave Elsen - UIC |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Removing blank lines because of MERGEFIELD
Include the line break in your TrueText; then you won't get a line break
(and hence no blank line) unless the TrueText prints. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Dave Elsen" wrote in message ... We send out several letters to students per day. In those letters there are spots where we add different text based upon some sort of status, residency for example. So using a {IF {MERGEFIELD Residency_Status = "Non-Resident" "Special Text goes here" ""} format we get what we want. Unfortunately if the condition is not met then nothing is printed, BUT there is still a big chunk of white space left for the text even though nothing is printed in that space. This makes the letter look a little funny and unprofessional. How can I get that blank white space area to go away if the criteria is not met. We are using Microsoft Office Word 2003. Thank you. -- Dave Elsen - UIC |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Removing blank lines because of MERGEFIELD
Thank you very much. That worked fine. I found out I also had a blank line
before the {IF {MERGEFIELD..... part. So that added to it also. Another happy customer! -- Dave Elsen - UIC "Suzanne S. Barnhill" wrote: Include the line break in your TrueText; then you won't get a line break (and hence no blank line) unless the TrueText prints. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Dave Elsen" wrote in message ... We send out several letters to students per day. In those letters there are spots where we add different text based upon some sort of status, residency for example. So using a {IF {MERGEFIELD Residency_Status = "Non-Resident" "Special Text goes here" ""} format we get what we want. Unfortunately if the condition is not met then nothing is printed, BUT there is still a big chunk of white space left for the text even though nothing is printed in that space. This makes the letter look a little funny and unprofessional. How can I get that blank white space area to go away if the criteria is not met. We are using Microsoft Office Word 2003. Thank you. -- Dave Elsen - UIC |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete a table row when mergefield is blank?? | Mailmerge | |||
Removing Blank Lines and End of Line Characters in a Word Table | Microsoft Word Help | |||
Removing blank lines from the bottom of a doc, what are carriages? | Microsoft Word Help | |||
how do I specify a blank mergefield in an if...then? | Mailmerge | |||
Removing blank lines from for letter | Mailmerge |