Reply
 
Thread Tools Display Modes
  #1   Report Post  
DaleB
 
Posts: n/a
Default How skip empty data field to create address in Word envelope

I'm trying to do mail merge of envelopes in WORD using EXCEL spreadsheet as
database source of addressees' information. (I'm using Office Standard
Edition 2003) For some records, certain data fields used to "write"
addressee's information are empty, for example, Address 2. How do I merge
such that in those cases the envelope prints as follows:
Name
Address 1
City, State Zip
as opposed to leaving blank line between Address 1 and City, State Zip
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

Use the individual fields as follows

{Mergefield Name}
{Mergefield Address 1}{IF {Mergefield Address2} "" "
{Mergefield Address2}
{Mergefield City}, {Mergefield State} {Mergefield Zip}

If necessary you can add similar conditions to the other fields

See also http://www.gmayor.com/formatting_word_fields.htm and the Excel data
section of http://www.gmayor.com/mail_merge_lab...th_word_xp.htm


--

Graham Mayor - Word MVP

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


DaleB wrote:
I'm trying to do mail merge of envelopes in WORD using EXCEL
spreadsheet as database source of addressees' information. (I'm
using Office Standard Edition 2003) For some records, certain data
fields used to "write" addressee's information are empty, for
example, Address 2. How do I merge such that in those cases the
envelope prints as follows:
Name
Address 1
City, State Zip
as opposed to leaving blank line between Address 1 and City, State Zip



  #3   Report Post  
DaleB
 
Posts: n/a
Default

Thank you Graham. I still couldn't figure this out per your suggestions (I'm
not dumb; I'm clearly not as advanced as you, but I do know a thing or two.
I knew how to do this the "old way"). I eventually went to your website and
learned how to re-configure WORD to allow application of old way. Maybe I'm
old fashion, but I wish Microsoft would stop changing things that worked well
enough before.
Once again, thanks.

"Graham Mayor" wrote:

Use the individual fields as follows

{Mergefield Name}
{Mergefield Address 1}{IF {Mergefield Address2} "" "
{Mergefield Address2}
{Mergefield City}, {Mergefield State} {Mergefield Zip}

If necessary you can add similar conditions to the other fields

See also http://www.gmayor.com/formatting_word_fields.htm and the Excel data
section of http://www.gmayor.com/mail_merge_lab...th_word_xp.htm


--

Graham Mayor - Word MVP

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


DaleB wrote:
I'm trying to do mail merge of envelopes in WORD using EXCEL
spreadsheet as database source of addressees' information. (I'm
using Office Standard Edition 2003) For some records, certain data
fields used to "write" addressee's information are empty, for
example, Address 2. How do I merge such that in those cases the
envelope prints as follows:
Name
Address 1
City, State Zip
as opposed to leaving blank line between Address 1 and City, State Zip




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
Formatting field does not format all field data Rolf Barbakken Microsoft Word Help 4 July 24th 05 02:07 PM
How do I create an address book used for mail merge in Word XP RDOC Mailmerge 0 February 10th 05 04:59 PM
multiple docs, one data source kp Mailmerge 12 January 31st 05 04:41 PM
Retaining formatting on a single line after entering data in field snidely Page Layout 1 January 17th 05 01:29 AM
How do I set field length in template/form regardless of data siz. shdrjw Microsoft Word Help 2 December 7th 04 08:04 PM


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