Hi,
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?
Joe
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:
https://docs.aspose.com/words/net/mail-merge-and-reporting/
https://docs.aspose.com/words/net/clean-up-before-or-during-mail-merge/
https://docs.aspose.com/words/net/clean-up-before-or-during-mail-merge/
Hope this helps you. Please let us know if you have any more queries.