Re: How to skip printing a blank address line in mail merge

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Conditional fields will work

{Mergefield Address1}{IF {Mergefield Address2} <> "" "
{Mergefield Address2}"}{IF {Mergefield Address3} <> "" "
{Mergefield Address3}"}{IF {Mergefield Address4} <> "" "
{Mergefield Address4}"}

Set the field boundaries {} with CTRL+F9 and substiture the names of your
address line fields.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

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

awf3 wrote:
> I can't find help for printing mixed 3 and 4-line addresses in mail
> merge. It seems there should be a switch to place after the merge
> field name.


.



Relevant Pages

  • Re: Run one macro from another and edit filenames for PDF printing
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... screenshot of how you have your PDF driver setup? ...
    (microsoft.public.word.vba.general)
  • Re: spell check error
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... spelling errors in this document only" box | OK. ...
    (microsoft.public.word.docmanagement)
  • Re: Macros to add a row in a word table
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... from the cell in which the Word formula field is placed. ...
    (microsoft.public.word.vba.general)
  • Re: Word file format problems
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... If these files are genuinely in Word 97-2003 format, ...
    (microsoft.public.word.docmanagement)
  • Re: Word closing down
    ... Graham Mayor - Word MVP ... Word MVP web site http://word.mvps.org ... By opening without templates, I ...
    (microsoft.public.word.docmanagement)