Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / September 2006

Tip: Looking for answers? Try searching our database.

How can I automate removal of zero value entries in mail merge?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank - 29 Sep 2006 06:57 GMT
I have made an Excel sheet with data pulled from other sheets.  Some of the
entries have "0's" on them, which is fine in Excel, but I don't need to print
out Envelopes with "0's" on them in Mail Merge.  I know how to manually
filter them out in Word during the select recipients part, but is there a way
that I can automate this.  I have set my Excel sheet as a template because
the data is always new, and I also have a template of the envelope with the
formatting and merge fields already in place.  Is it possible to save
filtering process steps?  Currently we have to click on one of the field
arrows in "Select Recipient" dialog box, select advanced, then we select the
field to be filtered, choose the comparison by option (we use "Greater Than")
and then enter the "0" zero.  This gets rid of all the entries we don't need,
but is there a way that I can save that into the Envelope Template or
something?  Maybe even in Excel?  I appreciate any help on this.  Thanks.
Graham Mayor - 29 Sep 2006 07:09 GMT
You could use a SKIPIF field - {SKIPIF {Mergefield fieldname} = "0"}

Signature

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

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

> I have made an Excel sheet with data pulled from other sheets.  Some
> of the entries have "0's" on them, which is fine in Excel, but I
[quoted text clipped - 11 lines]
> into the Envelope Template or something?  Maybe even in Excel?  I
> appreciate any help on this.  Thanks.
Frank - 29 Sep 2006 08:22 GMT
Graham, Thank you for the reply.
I now have a new question. how do I implement this Skipif field.
What I have now is CTN's <<CTN'S>>.  would I put that in the envelope
template like this "CTN's {SKIPIF {Mergefield fieldname} = "0"} <<CTN'S>>"?

> You could use a SKIPIF field - {SKIPIF {Mergefield fieldname} = "0"}
>
[quoted text clipped - 13 lines]
> > into the Envelope Template or something?  Maybe even in Excel?  I
> > appreciate any help on this.  Thanks.
Graham Mayor - 29 Sep 2006 10:01 GMT
SKIPIF normally goes at the start of the merge and SKIPs the record if the
criteria are met.
Use CTRL+F9 for the field boundaries or insert the field.

Signature

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

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

> Graham, Thank you for the reply.
> I now have a new question. how do I implement this Skipif field.
[quoted text clipped - 27 lines]
>>> I can save that into the Envelope Template or something?  Maybe
>>> even in Excel?  I appreciate any help on this.  Thanks.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.