Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
JohnJohn
 
Posts: n/a
Default Suppress Blank Lines in Tables?

Hello. I have a mail merge document with 5 rows (and 2 columns) that may or
may not have data in them. Does anyone know of any way (short of writing
macro code) to suppress the blank lines from printing in the table?

I KNOW you can suppress blank lines by not putting them into a table, but I
need to be able to left-align the values in the first column and right-align
the values in the second column. So alternatively, if anyone knows how I can
do THAT instead of suppressing blank rows in the table, I'll welcome that
suggestion too.

Thanks!
John
  #2   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP
 
Posts: n/a
Default Suppress Blank Lines in Tables?

For only 5 rows, it's hardly worth the effort to try and automate it.

--
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

"JohnJohn" wrote in message
...
Hello. I have a mail merge document with 5 rows (and 2 columns) that may
or
may not have data in them. Does anyone know of any way (short of writing
macro code) to suppress the blank lines from printing in the table?

I KNOW you can suppress blank lines by not putting them into a table, but
I
need to be able to left-align the values in the first column and
right-align
the values in the second column. So alternatively, if anyone knows how I
can
do THAT instead of suppressing blank rows in the table, I'll welcome that
suggestion too.

Thanks!
John



  #3   Report Post  
Posted to microsoft.public.word.tables
JohnJohn
 
Posts: n/a
Default Suppress Blank Lines in Tables?

I couldn't agree more. The problem is that my client couldn't agree less. :|

I have to figure this out quickly.

"Doug Robbins - Word MVP" wrote:

For only 5 rows, it's hardly worth the effort to try and automate it.

--
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

"JohnJohn" wrote in message
...
Hello. I have a mail merge document with 5 rows (and 2 columns) that may
or
may not have data in them. Does anyone know of any way (short of writing
macro code) to suppress the blank lines from printing in the table?

I KNOW you can suppress blank lines by not putting them into a table, but
I
need to be able to left-align the values in the first column and
right-align
the values in the second column. So alternatively, if anyone knows how I
can
do THAT instead of suppressing blank rows in the table, I'll welcome that
suggestion too.

Thanks!
John




  #4   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP
 
Posts: n/a
Default Suppress Blank Lines in Tables?

I assume that the main document contains more than just this table which
will rule out using a catalog or directory type mail merge. If that were
not the case, you might be able to use the following in the first cell of a
one row table in a catalog or directory type mail merge main document

{ IF { MERGEFIELD FirstMergeField } = "" { IF { MERGEFIELD
SecondMergeField } = "" { NEXT RECORD } { MERGEFIELD FirstMergeField } } {
MERGEFIELD FirstMergeField } }

Otherwise, you will need to use a macro which was not wanted.

--
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

"JohnJohn" wrote in message
...
I couldn't agree more. The problem is that my client couldn't agree less.
:|

I have to figure this out quickly.

"Doug Robbins - Word MVP" wrote:

For only 5 rows, it's hardly worth the effort to try and automate it.

--
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

"JohnJohn" wrote in message
...
Hello. I have a mail merge document with 5 rows (and 2 columns) that
may
or
may not have data in them. Does anyone know of any way (short of
writing
macro code) to suppress the blank lines from printing in the table?

I KNOW you can suppress blank lines by not putting them into a table,
but
I
need to be able to left-align the values in the first column and
right-align
the values in the second column. So alternatively, if anyone knows how
I
can
do THAT instead of suppressing blank rows in the table, I'll welcome
that
suggestion too.

Thanks!
John






  #5   Report Post  
Posted to microsoft.public.word.tables
JohnJohn
 
Posts: n/a
Default Suppress Blank Lines in Tables?

Well that's good thinking! I'll give it a shot. Thanks.

"Doug Robbins - Word MVP" wrote:

I assume that the main document contains more than just this table which
will rule out using a catalog or directory type mail merge. If that were
not the case, you might be able to use the following in the first cell of a
one row table in a catalog or directory type mail merge main document

{ IF { MERGEFIELD FirstMergeField } = "" { IF { MERGEFIELD
SecondMergeField } = "" { NEXT RECORD } { MERGEFIELD FirstMergeField } } {
MERGEFIELD FirstMergeField } }

Otherwise, you will need to use a macro which was not wanted.

--
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

"JohnJohn" wrote in message
...
I couldn't agree more. The problem is that my client couldn't agree less.
:|

I have to figure this out quickly.

"Doug Robbins - Word MVP" wrote:

For only 5 rows, it's hardly worth the effort to try and automate it.

--
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

"JohnJohn" wrote in message
...
Hello. I have a mail merge document with 5 rows (and 2 columns) that
may
or
may not have data in them. Does anyone know of any way (short of
writing
macro code) to suppress the blank lines from printing in the table?

I KNOW you can suppress blank lines by not putting them into a table,
but
I
need to be able to left-align the values in the first column and
right-align
the values in the second column. So alternatively, if anyone knows how
I
can
do THAT instead of suppressing blank rows in the table, I'll welcome
that
suggestion too.

Thanks!
John






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
blank lines in XP mail merge mwest Mailmerge 1 August 19th 05 06:08 PM
How do I suppress blank lines in a table in Word 2000? mauitom Mailmerge 1 June 24th 05 09:00 AM
How do I suppress blank address lines in Word2003 mail merge? JonUK5691 Mailmerge 1 March 22nd 05 09:31 PM
In Word 2002, how do I suppress blank lines in an address? geller Mailmerge 1 February 2nd 05 05:50 AM
How to suppress blank lines at top of page Geoff Page Layout 1 December 14th 04 10:11 PM


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