Reply
 
Thread Tools Display Modes
  #1   Report Post  
SandieBch
 
Posts: n/a
Default How to omit blank lines in mail merge

How can you omit blank lines in a merged document (such as a mailing label)
where the field has no data in the data source document?
  #2   Report Post  
Greg Maxey
 
Posts: n/a
Default

You do it with an IF field:
{Mergefield Address1}{IF {Mergefield Address2} "" "{Mergefield
Address2}"}{Mergefield Address3}Note: in the example above there is a line
feed (Shift+Enter) following the third speech mark.

--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

SandieBch wrote:
How can you omit blank lines in a merged document (such as a mailing
label) where the field has no data in the data source document?



  #3   Report Post  
Graham Mayor
 
Posts: n/a
Default

Or even a paragraph (Enter)

{Mergefield Address1}{IF {Mergefield Address2} "" "
{Mergefield Address2}"}{Mergefield Address3}


--

Graham Mayor - Word MVP

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




Greg Maxey wrote:
You do it with an IF field:
{Mergefield Address1}{IF {Mergefield Address2} "" "{Mergefield
Address2}"}{Mergefield Address3}Note: in the example above there is a
line feed (Shift+Enter) following the third speech mark.


SandieBch wrote:
How can you omit blank lines in a merged document (such as a mailing
label) where the field has no data in the data source document?



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
Previous version of Mail Merge style d2power Microsoft Word Help 1 December 15th 04 01:56 AM
mail merge to MAPI as a PDF attachment MikeG Microsoft Word Help 1 December 13th 04 03:12 AM
Mail Merge - Date Format Kilinski Microsoft Word Help 0 December 7th 04 02:13 PM
How do I mail merge when only merge document is shown in tools? DaveAS Microsoft Word Help 2 December 1st 04 04:45 PM
Change Line Count to not count blank lines Carol Microsoft Word Help 4 November 27th 04 02:46 PM


All times are GMT +1. The time now is 03:32 PM.

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"