![]() |
|
#2
|
||||
|
||||
|
It appears from your code that you have line/paragraph breaks between each of the field sets. Instead of:
{ IF { MERGEFIELD FieldName1 } <> "" "<table><tr><td>ColName1</td><td>ColValue1</td></tr></table>" "" }¶ { IF { MERGEFIELD FieldName2 } <> "" "<table><tr><td>ColName2</td><td>ColValue2</td></tr></table>" "" }¶ { IF { MERGEFIELD FieldName3 } <> "" "<table><tr><td>ColName3</td><td>ColValue3</td></tr></table>" "" }¶ you should have: { IF { MERGEFIELD FieldName1 } <> "" "<table><tr><td>ColName1</td><td>ColValue1</td></tr></table>" "" }{ IF { MERGEFIELD FieldName2 } <> "" "¶ <table><tr><td>ColName2</td><td>ColValue2</td></tr></table>" "" }{ IF { MERGEFIELD FieldName3 } <> "" "¶ <table><tr><td>ColName3</td><td>ColValue3</td></tr></table>" "" }¶ where ¶ is your line/paragraph break.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro to delete all empty rows from all tables
|
braddgood | Word VBA | 15 | 10-02-2015 01:54 PM |
What is purpose of slide master, as opposed to slide layout
|
meileetan | PowerPoint | 3 | 01-10-2014 02:20 AM |
| Can you create a bibliography (as opposed to a table of authorities) in Word 2003? | New Daddy | Word | 1 | 11-06-2012 02:37 AM |
| Apparently empty (blank) cells aren't empty | daymaker | Excel | 3 | 03-08-2012 03:41 PM |
| compatibility mode VS saving to doc as opposed to docx | airtas | Word | 7 | 05-30-2010 02:19 PM |