Results 1 to 2 of 2

Thread: Mail Merge - Blank Spaces
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Jul 2019
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Mail Merge - Blank Spaces

    Hello,

    I am working in a mail merge document, and I need the output to look something like this:

    Vacation:

    Life Insurance:

    Disability:

    etc.

    However, the issue is that sometimes the fields are blank, and if they're blank it messes up the spacing. I want the document to ignore any blanks, but also format correctly. I have done research and currently have this:

    {MERGEFIELD Vacation \b"
    "}{MERGEFIELD Life Insurance \b"
    "}{MERGEFIELD Disability \b"
    "}

    I pressed ALT F9 to do this, and although the spacing now works, if I place the merge field that follows directly after the closing bracket as I have it now, it skips the record of data that comes after the closing bracket when I preview the mail merge. If I put the merge field on a new line (the line after the closing bracket) the data shows up, however the spacing is still off.

    I want the document to evenly space each field even if there is no data.

    Any help would be SO greatly appreciated!!!
    Last edited by Joe4; Sep 5th, 2019 at 02:10 PM. Reason: moved, as this appears to be more of a Word question than an Excel one

  2. #2
    Retired Moderator Macropod's Avatar
    Join Date
    Aug 2007
    Location
    Canberra, Australia
    Posts
    3,290
    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Mail Merge - Blank Spaces

    How is the output supposed to change when 'Life Insurance', for example, is empty, compared to when the same field contains data? Your post so far doesn't give any indication of this. Note also that previews are not a reliable indicator of the final output.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •