Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Dave Elsen Dave Elsen is offline
external usenet poster
 
Posts: 5
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Dave Elsen Dave Elsen is offline
external usenet poster
 
Posts: 5
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete a table row when mergefield is blank?? NaBellFL Mailmerge 8 September 12th 08 08:16 AM
Removing Blank Lines and End of Line Characters in a Word Table Dan Thorman Microsoft Word Help 1 September 11th 06 06:27 PM
Removing blank lines from the bottom of a doc, what are carriages? Irene Microsoft Word Help 3 March 27th 06 03:44 PM
how do I specify a blank mergefield in an if...then? GWys Mailmerge 1 October 4th 05 06:08 AM
Removing blank lines from for letter Phil Mailmerge 1 June 21st 05 05:52 PM


All times are GMT +1. The time now is 08:09 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"