View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor
 
Posts: n/a
Default Correct spacing for blank fields in name mailmerge

{Mergefield First_Name}{IF {Mergefield Initial} "" " {Mergefield
Initial}"} {Mergefield Last_Name}

Note the space at
" {Mergefield Initial}"}
and before
{Mergefield Last_Name}
No space after
{Mergefield First_Name}
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Harry Weeds wrote:
How do you keep Word from putting an extra space between fields that
are on the same line when there is a field that may be blank for some
records - a middle initial field, for example. Some records will
have middle initials resulting in correct spacing between the various
fields, but when the middle initial field is empty the spacing
between the first and last name will be wrong. Thank you for your
help.