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 2005

Tip: Looking for answers? Try searching our database.

mail merge when not all fields populated

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cwr - 19 Apr 2005 19:19 GMT
I did a mail merge from an excel spreadsheet.
Had first name, middle name and last name.
Not all of the entries had a middle name, so there was an
extra space between first name and last name.
Is there any way to set it up so that if the entries that have
no middle name have only one space between first name and middle name?

Thanks
GTS - 19 Apr 2005 22:16 GMT
> I did a mail merge from an excel spreadsheet.
> Had first name, middle name and last name.
[quoted text clipped - 4 lines]
>
> Thanks
You could use an IF statement for the midde name:
{ MERGEFIELD "FORENAME" }{ IF MERGEFIELD MIDDLENAME <> "" " {MERGEFIELD
MIDDLENAME" } { MERGEFIELD "SURNAME" }
There is a space before the middle name that will only show if there is a
middle name - I'm sure there must be an easier way but can't think how :-)
Graham
Peter Jamieson - 20 Apr 2005 08:23 GMT
> I'm sure there must be an easier way but can't think how :-)

:-) Other than creating the field you need in the data source itself, which
may or may not be easy depending on the source, there isn't an easier way.

Peter Jamieson

>> I did a mail merge from an excel spreadsheet.
>> Had first name, middle name and last name.
[quoted text clipped - 10 lines]
> middle name - I'm sure there must be an easier way but can't think how :-)
> Graham
 
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.