Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / November 2005

Tip: Looking for answers? Try searching our database.

Name fields in mailmerge

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
oe - 16 Nov 2005 16:35 GMT
I have a list of names and addresses for mail merge. The data source has
Title, Initial, First_Name and Last_name fields. Sometimes I do not want the
merge to show the Title and Initial, just the First_Name and Last_name, so I
tried putting the first names in the Title field, e.g.:

«Title» «Intial» «Last_name»

Mr & Mrs J Smith
Mrs R Black
Janet & Peter Jones

This is probably not the right way to do it - in any case, I now get a space
between"Janet & Peter" and "Jones".

Can anyone help, please?

TIA
Doug Robbins - Word MVP - 16 Nov 2005 19:04 GMT
To simplify things what I would do is just have two fields First_Name and
Last_Name and in the First_Name field put

Mr & Mrs J
Mrs R
Janet & Peter

Alternatively, you can use a series of If...then...Else field constructions

{ IF { MERGEFIELD Title } <> "" "{ MERGEFIELD Title }x" "" }y{ IF {
MERGEFIELD Initial } <> "" "{ MERGEFIELD Initial }x" "" }y{ IF { MERGEFIELD
First_Name } <> "" "{ MERGEFIELD First_Name }x" "" }y{ MERGEFIELD
Last_Name }

Where ever I have inserted and "x" in the above, it needs to be replaced by
a space.  There should be no space where I have inserted a "y".

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I have a list of names and addresses for mail merge. The data source has
>Title, Initial, First_Name and Last_name fields. Sometimes I do not want
[quoted text clipped - 13 lines]
>
> TIA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.