How to remove spaces in mail merge

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
 
M

Martin P

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.
 

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