Hello there,
Because mail merge field value could be NULL/EMPTY, I want to remove any empty lines that occurs due to this. I tried using
MailMerge.RemoveEmptyParagraphs = true;It helped in some way, but problem is not solved completely.
For case when I have more than one Merge Fields in same line, and all the fields in that line are NULL/EMPTY, it does not remove that empty line.
For your reference, I have attached my source and output document.
(In output document, the block in red color shows the issue.)
Thank you!