Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Mail Merge Fields
Please Help - Useing Word 2000.
I have the MergeFields Title, Firstname & Lastname in a letter but if there is no information in the fields I need to have the Company name. Can I use a If{ Mergfield TITLE} = " " ,"{Mergfield COMPNAME}",{Mergfield TITLE}"} statement with the merge fields. IF TITLE ,FIRSTNAME & LASTNAME = ISNULL THEN MEGRFIELD COMPNAME The merge fields a from a CSV File. Thanks Peter |
#2
|
|||
|
|||
Mail Merge Fields
It seems likely that the lastname field is the important one to use for this
condition thus: { IF { Mergefield LastName } = "" "{ Mergefield CompName }" "{Mergefield Title} { Mergefield FirstName } { Mergefield LastName }" } will insert the company name if the lastname field is empty, otherwise the other three fields) -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Peterg wrote: Please Help - Useing Word 2000. I have the MergeFields Title, Firstname & Lastname in a letter but if there is no information in the fields I need to have the Company name. Can I use a If{ Mergfield TITLE} = " " ,"{Mergfield COMPNAME}",{Mergfield TITLE}"} statement with the merge fields. IF TITLE ,FIRSTNAME & LASTNAME = ISNULL THEN MEGRFIELD COMPNAME The merge fields a from a CSV File. Thanks Peter |
#3
|
|||
|
|||
Mail Merge Fields
Hi Peter,
Presumably, if the LastName is empty, so too would be the FirstName and Title. In that case, a field coded as: {IF{MERGEFIELD LastName} = "" {MERGEFIELD CompName}} would do. Cheers "Peterg" wrote in message ... Please Help - Useing Word 2000. I have the MergeFields Title, Firstname & Lastname in a letter but if there is no information in the fields I need to have the Company name. Can I use a If{ Mergfield TITLE} = " " ,"{Mergfield COMPNAME}",{Mergfield TITLE}"} statement with the merge fields. IF TITLE ,FIRSTNAME & LASTNAME = ISNULL THEN MEGRFIELD COMPNAME The merge fields a from a CSV File. Thanks Peter |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
mail merge some fields leave other as form fields | Mailmerge | |||
Mail merge fields not visible but printing | Mailmerge | |||
mail merge with attachments | Mailmerge | |||
Splitting text from mail merge fields | Mailmerge | |||
Empty Mail Merge Fields | Microsoft Word Help |