How to remove spaces in mail merge

  • Thread starter Thread starter caustin
  • Start date Start date
C

caustin

Here's the deal, we merge excel columns into address labels. Everythin
works great. Problem is when we have an address where there's no firs
or last name, just a company name. WE set up the labels like this:

<<First>> <<Last>>
<<Company>>
<<Address>> etc

When there's no first or last name, the space that we manually inser
in word remains there, so that when the company name gets moved up t
the top line it ends up looking like this:

Company X
123 Main Street
Anytown, CA

The company name is indented by that one space. Is there any way t
get Word (or Excel) to ignore that space if there's no first name an
last name
 
The solution is in Word, in the mail merge document. Go to Insert Word Field
in the mail merge toolbar. In the dropdown list choose If ... then ... else
..... Choose your first name field under Field Name. Under Comparison, choose
"is blank". Then enter nothing and a space in the other two areas.
 
Back
Top