
Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
> I'm creating mailing list lables in Word 2002. I am
> creating the lables from an excel page with the name,
[quoted text clipped - 18 lines]
>
> sloe
In the excel document, i have:
name lastName spouse spouseLastName street ...
if i have the following:
bob smith jane (blank)
i get:
bob and jane smith (which is correct)
if i have:
bob smith jane jenkins
i get:
bob smith and jane jenkins (which is also correct)
but, if i have:
bob smith (blank) (blank)
i get:
the smith family (?!)
tell me about these conditional fields.
sam
> This should be easy enough with conditional fields, but you need to post
> what name fields you have and what type of data they contain in order to
> work out the best way to handle it.
> List a few sample records (with false data) and the fieldnames.
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 05 Mar 2004 22:38 GMT
If you have the mailmerge main document active and you press Alt+F9, the
field codes will be revealed.

Signature
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
> In the excel document, i have:
> name lastName spouse spouseLastName street ...
[quoted text clipped - 21 lines]
>> work out the best way to handle it.
>> List a few sample records (with false data) and the fieldnames.
Graham Mayor - 06 Mar 2004 06:25 GMT
You need to create the following nested field which should all be on one
line - allowing the line to wrap naturally. Note the positions of the speech
marks "" which are important. The field boundaries are inserted by hand with
CTRL+F9.
{IF { Mergefield Spouse} <> "" "{IF {Mergefeield lastname} <> {Mergefield
spouselastname} "{Mergefield name} {Mergefield lastname } and {Mergefield
spouse} {Mergefield spouselastname}" "{Mergefield name } and {Mergefield
spouse} {Mergefield lastname }" }" "The {Mergefield lastname } family" }

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
> In the excel document, i have:
> name lastName spouse spouseLastName street ...
[quoted text clipped - 21 lines]
>> order to work out the best way to handle it.
>> List a few sample records (with false data) and the fieldnames.