Reply
 
Thread Tools Display Modes
  #1   Report Post  
alan
 
Posts: n/a
Default 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   Report Post  
Doug Robbins
 
Posts: n/a
Default 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   Report Post  
macropod
 
Posts: n/a
Default 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   Report Post  
Graham Mayor
 
Posts: n/a
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting and maintaining a blank page Steve Microsoft Word Help 3 June 23rd 05 05:14 PM
footnote insert also puts 14 unwanted blank lines in middle of my. LKB Microsoft Word Help 2 April 28th 05 04:58 PM
mail merge 2 x 2 double sided brad572 Mailmerge 3 April 4th 05 09:18 PM
How to print blank merge data as a blank line? YYS Mailmerge 1 January 17th 05 12:18 PM
"Blank page" is not blank. It contains text written weeks ago. Kingfish Microsoft Word Help 3 January 7th 05 09:52 PM


All times are GMT +1. The time now is 09:45 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"