Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Suppressing lines in Word Mail Merge

Hi Kathy,

Did you read Doug's reply?

Personally, I'd simplify the code to:
{ IF {MERGEFIELD Address2} "" "{MERGFIELD Address2}¶
"}{MERGEFIELD City} {MERGEFIELD State} {MERGEFIELD Zip}
or:
{ IF «Address2» "" "«Address2»¶
"}«City» «State» «Zip»

Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message. Likwise, you can't type or copy & paste the chevrons (ie '« »') - they're part of the actual mergefields,
which you can insert from the mailmerge toolbar.

--
Cheers
macropod
[Microsoft MVP - Word]


"Kathy Mergulhao" wrote in message ...
I am looking for the same answer... hopefully someone will know if it can be done.

I am merging Excel data into a Word 2003 table. Each cell contains an If statement. If some of the rows are not needed,
therefore empty, I would like the empty row to be deleted from the table.

Is it possible?



Red Sapphire wrote:

Supressing empty lines in Word 2003 during a mail merge
17-Dec-09

Hi all,

I know that there is a button somewhere, that leaves out empty fields during
a mail merge thus ensuring that you do not get empty lines or spaces when you
merge a document?

Any help much appreciated!

Thank you
Alison

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
Build a Custom .NET "EVAL" Provider
http://www.eggheadcafe.com/tutorials...-net-eval.aspx


 
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
how to remove empty lines from a label mail merge Suzanne Mailmerge 5 July 11th 08 05:57 AM
supressing warning when opening a Word Mail Merge document from Access Paul Mailmerge 6 March 31st 08 08:27 AM
How do I remove blank lines in mail merge labels in Word 2003 Islandtop Mailmerge 2 December 7th 07 06:24 PM
In Word 2003 when mail merge how do I delete an empty field? connie Mailmerge 3 July 23rd 07 05:25 PM
How do I avoid printing blank lines using mail merge in Word 2003. Printerb Mailmerge 1 April 15th 05 11:01 AM


All times are GMT +1. The time now is 07:00 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"