Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
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
Posted to microsoft.public.word.tables
|
|||
|
|||
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
Posted to microsoft.public.word.tables
|
|||
|
|||
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
Posted to microsoft.public.word.tables
|
|||
|
|||
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
Posted to microsoft.public.word.tables
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
blank lines in XP mail merge | Mailmerge | |||
How do I suppress blank lines in a table in Word 2000? | Mailmerge | |||
How do I suppress blank address lines in Word2003 mail merge? | Mailmerge | |||
In Word 2002, how do I suppress blank lines in an address? | Mailmerge | |||
How to suppress blank lines at top of page | Page Layout |