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 / April 2004

Tip: Looking for answers? Try searching our database.

problems with merge fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
christinab - 13 Apr 2004 12:51 GMT
I am doing a mail merge for a list of about 160 names, which are held in an Excel spreadsheet. I have Title, FirstName, Lastname, Address etc, etc. The merge itself works fine. But when a person is called Sir, rather than Mr, then the letter types "Dear Sir Smith". I dont like this. I would prefer it to say "Dear Sir David Smith", but only if the title IS EQUAL TO Sir. All others should just have "Dear Mr Smith", or whatever

Does this make sense? I would appretiate some help

Christina
Doug Robbins - Word MVP - 13 Apr 2004 13:18 GMT
Hi Christina

Use an If...Then...Else field

Dear { IF { MERGEFIELD Title  = "Sir" "Sir { MERGEFIELD FirstName }" "Mr" }
{ MERGEFIELD LastName },

You must use Ctrl+F9 to insert each pair of field delimiters { } and Alt+F9
to toggle them off.

--
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
> I am doing a mail merge for a list of about 160 names, which are held in an Excel spreadsheet. I have Title, FirstName, Lastname, Address etc, etc.
The merge itself works fine. But when a person is called Sir, rather than
Mr, then the letter types "Dear Sir Smith". I dont like this. I would prefer
it to say "Dear Sir David Smith", but only if the title IS EQUAL TO Sir. All
others should just have "Dear Mr Smith", or whatever.

> Does this make sense? I would appretiate some help!
>
> Christina
 
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.