Share via


SuppressBlankLines Property.SuppressBlankLines Property

Publisher Developer Reference

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 SuppressBlankLines Property 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.

Visual Basic for Applications
  Sub SuppressBlankLines()
    ActiveDocument.MailMerge.SuppressBlankLines = True
End Sub

See Also