MailMerge.SuppressBlankLines property (Publisher)

True to suppress blank lines when mail merge fields in a mail merge main document are empty. Read/write Boolean.

Syntax

expression.SuppressBlankLines

expression A variable that represents a MailMerge object.

Return value

Boolean

Example

This example suppresses blank lines in the active publication when mail merge fields are blank. This example assumes that a mail merge data source is attached to the active publication.

Sub SuppressBlankLines() 
 ActiveDocument.MailMerge.SuppressBlankLines = True 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.