Free Support Forum -

Removing blank rows in table


I have a table as attached.

On occasions, the two rows that start with AERDateLabel and AERHeader may contain no data so I set the fields to a space.

If it was a single row the commands

doc.MailMerge.RemoveEmptyParagraphs = True

doc.MailMerge.RemoveEmptyRegions = True

would delete the blank row. But this does not seen to work with two rows one after the other. Any ideas on how I could work around this?


Hi Joe,

Thanks for your inquiry. In your case, I suggest you to use custom logic for Unmerged Regions. Please read following documentation links for your kind reference:

Hope this helps you. Please let us know if you have any more queries.