Reply
 
Thread Tools Display Modes
  #1   Report Post  
jen
 
Posts: n/a
Default Unwanted spaces in address on envelopes

I'm using Word for XP, and trying to create envelopes using mail-merge.
I have my addresses in an address book (Windows address book, I think).
I started using "insert fields" instead of "address block" because that was
causing problems.

Now, with the "insert fields", only half of the addresses are perfect, and
the other half have giant spaces between the street address and the city,
state and zip. Some are even aligned to the left.

I tried deleting the spaces on my own, but when I checked the envelope
again, the space had returned.
I checked my addresses in the address book for unwanted spaces, but there
were none.
How do I get rid of the spaces???
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

Provided the spaces are not in the data file, then you may have to use
conditional fields to inhibit spacing. Something along the lines of:

{Mergefield Address1}{IF {Mergefield Address2} "" "
{Mergefield Address2}{IF {Mergefield Address3} "" "
{Mergefield Address3}{IF {Mergefield Zip} "" "
{Mergefield Zip}

The field boundaries {} are inserted with CTRL+F9 and the fieldnames are
those from your data file.
What is happening here is that if the field is not empty, then the merge
will insert a line break and the field, otherwise it does nothing.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org

jen wrote:
I'm using Word for XP, and trying to create envelopes using
mail-merge.
I have my addresses in an address book (Windows address book, I
think).
I started using "insert fields" instead of "address block" because
that was causing problems.

Now, with the "insert fields", only half of the addresses are
perfect, and the other half have giant spaces between the street
address and the city, state and zip. Some are even aligned to the
left.

I tried deleting the spaces on my own, but when I checked the envelope
again, the space had returned.
I checked my addresses in the address book for unwanted spaces, but
there were none.
How do I get rid of the spaces???



  #3   Report Post  
jen
 
Posts: n/a
Default

Thanks for your reply Graham.
I tried doing what you said, but no info showed up from my address
book...obviously I did something wrong.
This is my first time using mail-merge, so I am a total newbie.

This is what I put into the address area:
{Mergefield Company}{IF {Mergefield Street Address} "" "
{Mergefield Street Address}{IF {Mergefield City } "" "
{Mergefield City}{IF {Mergefield State/Province} "" "
{Mergefield State/Province}{IF {Mergefield Zip Code} "" "
{Mergefield Zip Code}

I tried using the terms that my address book uses (Company, Street Address,
etc.),
but no data showed up at all.

I'm so confused, any help is greatly appreciated!


"Graham Mayor" wrote:

Provided the spaces are not in the data file, then you may have to use
conditional fields to inhibit spacing. Something along the lines of:

{Mergefield Address1}{IF {Mergefield Address2} "" "
{Mergefield Address2}{IF {Mergefield Address3} "" "
{Mergefield Address3}{IF {Mergefield Zip} "" "
{Mergefield Zip}

The field boundaries {} are inserted with CTRL+F9 and the fieldnames are
those from your data file.
What is happening here is that if the field is not empty, then the merge
will insert a line break and the field, otherwise it does nothing.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org

jen wrote:
I'm using Word for XP, and trying to create envelopes using
mail-merge.
I have my addresses in an address book (Windows address book, I
think).
I started using "insert fields" instead of "address block" because
that was causing problems.

Now, with the "insert fields", only half of the addresses are
perfect, and the other half have giant spaces between the street
address and the city, state and zip. Some are even aligned to the
left.

I tried deleting the spaces on my own, but when I checked the envelope
again, the space had returned.
I checked my addresses in the address book for unwanted spaces, but
there were none.
How do I get rid of the spaces???




  #4   Report Post  
Graham Mayor
 
Posts: n/a
Default

Thanks to a typo on my part, I missed an important set of speech
marks.....sorry!
However you should not have been able to insert the fields as I wrote them
as one side of the field boundaries was missing. Fields are inserted with
CTRL+F9
Try again with the following

{Mergefield Company}{IF {Mergefield Street Address} "" "
{Mergefield Street Address}"}{IF {Mergefield City } "" "
{Mergefield City}"}{IF {Mergefield State/Province} "" "
{Mergefield State/Province}"}{IF {Mergefield Zip Code} "" "
{Mergefield Zip Code}"}

Does your address book have spaces in the field names? In which case you may
need:

{Mergefield Company}{IF {Mergefield "Street Address"} "" "
{Mergefield "Street Address"}"}{IF {Mergefield City } "" "
{Mergefield City}"}{IF {Mergefield "State/Province"} "" "
{Mergefield "State/Province"}"}{IF {Mergefield "Zip Code"} "" "
{Mergefield "Zip Code"}"}


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


jen wrote:
Thanks for your reply Graham.
I tried doing what you said, but no info showed up from my address
book...obviously I did something wrong.
This is my first time using mail-merge, so I am a total newbie.

This is what I put into the address area:
{Mergefield Company}{IF {Mergefield Street Address} "" "
{Mergefield Street Address}{IF {Mergefield City } "" "
{Mergefield City}{IF {Mergefield State/Province} "" "
{Mergefield State/Province}{IF {Mergefield Zip Code} "" "
{Mergefield Zip Code}

I tried using the terms that my address book uses (Company, Street
Address, etc.),
but no data showed up at all.

I'm so confused, any help is greatly appreciated!


"Graham Mayor" wrote:

Provided the spaces are not in the data file, then you may have to
use conditional fields to inhibit spacing. Something along the lines
of:

{Mergefield Address1}{IF {Mergefield Address2} "" "
{Mergefield Address2}{IF {Mergefield Address3} "" "
{Mergefield Address3}{IF {Mergefield Zip} "" "
{Mergefield Zip}

The field boundaries {} are inserted with CTRL+F9 and the fieldnames
are those from your data file.
What is happening here is that if the field is not empty, then the
merge will insert a line break and the field, otherwise it does
nothing.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org

jen wrote:
I'm using Word for XP, and trying to create envelopes using
mail-merge.
I have my addresses in an address book (Windows address book, I
think).
I started using "insert fields" instead of "address block" because
that was causing problems.

Now, with the "insert fields", only half of the addresses are
perfect, and the other half have giant spaces between the street
address and the city, state and zip. Some are even aligned to the
left.

I tried deleting the spaces on my own, but when I checked the
envelope again, the space had returned.
I checked my addresses in the address book for unwanted spaces, but
there were none.
How do I get rid of the spaces???



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
Mail Merge Address Block Missing Address 3 Joe Champagne Mailmerge 3 September 23rd 05 06:09 PM
Creating mass envelopes with no return address SR VanDam Microsoft Word Help 1 April 14th 05 05:29 PM
Removing Unwanted Spaces Chris New Users 3 March 12th 05 08:45 PM
Envelopes - won't grab address from document Duke Carey Microsoft Word Help 7 January 28th 05 05:32 PM
How can I print multiple envelopes with the same address w/o typi. vagirl3d Microsoft Word Help 1 November 30th 04 04:27 PM


All times are GMT +1. The time now is 05:39 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"