Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Double blank when no middle name
I have Word and Outlook 2002 SP2.
How do you avoid a double blank space when you select First Name Middle Name Last Name when there is no middle name? Alan |
#2
|
|||
|
|||
Double blank when no middle name
Use an If...then...Else field construction
{ MERGEFIELD FirstName } { IF { MERGEFIELD MiddleName }= "" "" "{ MERGEFIELD MiddleName } "}{MERGEFIELD LastName} Note that there is a space between the } and the " in the second instance of { MERGEFIELD MiddleName } " -- 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 "alan" wrote in message ... I have Word and Outlook 2002 SP2. How do you avoid a double blank space when you select First Name Middle Name Last Name when there is no middle name? Alan |
#3
|
|||
|
|||
Double blank when no middle name
Or perhaps:
{MERGEFIELD FirstName} {IF{MERGEFIELD MiddleName}= "" {MERGEFIELD LastName} "{MERGEFIELD MiddleName} {MERGEFIELD LastName}"} Cheers "Doug Robbins" wrote in message ... Use an If...then...Else field construction { MERGEFIELD FirstName } { IF { MERGEFIELD MiddleName }= "" "" "{ MERGEFIELD MiddleName } "}{MERGEFIELD LastName} Note that there is a space between the } and the " in the second instance of { MERGEFIELD MiddleName } " -- 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 "alan" wrote in message ... I have Word and Outlook 2002 SP2. How do you avoid a double blank space when you select First Name Middle Name Last Name when there is no middle name? Alan |
#4
|
|||
|
|||
Double blank when no middle name
Or even
{ Mergefield FirstName }space{ IF{ Mergefield MiddleName } "" "{ Mergefield MiddleName }space" }{ Mergefield LastName } -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org macropod wrote: Or perhaps: {MERGEFIELD FirstName} {IF{MERGEFIELD MiddleName}= "" {MERGEFIELD LastName} "{MERGEFIELD MiddleName} {MERGEFIELD LastName}"} Cheers "Doug Robbins" wrote in message ... Use an If...then...Else field construction { MERGEFIELD FirstName } { IF { MERGEFIELD MiddleName }= "" "" "{ MERGEFIELD MiddleName } "}{MERGEFIELD LastName} Note that there is a space between the } and the " in the second instance of { MERGEFIELD MiddleName } " -- 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 "alan" wrote in message ... I have Word and Outlook 2002 SP2. How do you avoid a double blank space when you select First Name Middle Name Last Name when there is no middle name? Alan |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Inserting and maintaining a blank page | Microsoft Word Help | |||
footnote insert also puts 14 unwanted blank lines in middle of my. | Microsoft Word Help | |||
mail merge 2 x 2 double sided | Mailmerge | |||
How to print blank merge data as a blank line? | Mailmerge | |||
"Blank page" is not blank. It contains text written weeks ago. | Microsoft Word Help |