Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Diddy Diddy is offline
external usenet poster
 
Posts: 5
Default Mailmerge - want to have empty fields hidden

Hi,

I'm trying to set up a packing list mail merge. I've got 9 items in total,
some record will have all items and some just a few. My data source is an
Excel workbook.

What I would like is to set up a table containing the fields but if the
field contains a zero then the table row should not appear.

Any help or suggestions would be brilliant!

Cheers



  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Mailmerge - want to have empty fields hidden

Are there nine separate fields, some of which may be blank, or are there up
to nine records that make up the one packing list?

If the latter, check out fellow MVP Macropod's Word 97-2007
Catalogue/Directory Mailmerge
Tutorial at:

http://www.wopr.com/index.php?showtopic=731107

or

http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip

Do read the tutorial before trying to use the mailmerge document included
with it.

If the former, there is really no way to do this with mail merge alone. You
would have to run a macro after executing the merge to delete rows from the
table where there was no information in the particular cell that was blank.
Alternatively, a "roll-your-own" VBA based equivalent to mail merge.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Diddy" wrote in message
...
Hi,

I'm trying to set up a packing list mail merge. I've got 9 items in
total,
some record will have all items and some just a few. My data source is an
Excel workbook.

What I would like is to set up a table containing the fields but if the
field contains a zero then the table row should not appear.

Any help or suggestions would be brilliant!

Cheers




  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Diddy Diddy is offline
external usenet poster
 
Posts: 5
Default Mailmerge - want to have empty fields hidden

Thank you Doug,

The links were really helpful, not all done yet but nearly there

Cheers
Diddy

"Doug Robbins - Word MVP" wrote:

Are there nine separate fields, some of which may be blank, or are there up
to nine records that make up the one packing list?

If the latter, check out fellow MVP Macropod's Word 97-2007
Catalogue/Directory Mailmerge
Tutorial at:

http://www.wopr.com/index.php?showtopic=731107

or

http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip

Do read the tutorial before trying to use the mailmerge document included
with it.

If the former, there is really no way to do this with mail merge alone. You
would have to run a macro after executing the merge to delete rows from the
table where there was no information in the particular cell that was blank.
Alternatively, a "roll-your-own" VBA based equivalent to mail merge.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Diddy" wrote in message
...
Hi,

I'm trying to set up a packing list mail merge. I've got 9 items in
total,
some record will have all items and some just a few. My data source is an
Excel workbook.

What I would like is to set up a table containing the fields but if the
field contains a zero then the table row should not appear.

Any help or suggestions would be brilliant!

Cheers





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
make mailmerge leave blanks when fields are empty Jenny hall Mailmerge 2 January 12th 09 11:30 AM
Form: Leaving Empty Fields Empty Rosiewednesday Microsoft Word Help 3 June 11th 08 09:27 AM
Using if fields in mail merge to ignore empty fields Larry S. Mailmerge 9 August 15th 06 08:10 AM
Mailmerge:unwanted blank lines caused by empty data fields Mail merge - Empty data field Microsoft Word Help 0 October 5th 05 01:09 PM
Word XE fields should be toggled fields, not Hidden Text. Monty Page Layout 1 September 16th 05 09:54 PM


All times are GMT +1. The time now is 04:32 AM.

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"