SuppressBlankLines Property

Microsoft Publisher Visual Basic

expression.SuppressBlankLines

expression    Required. An expression that returns one of the objects in the Applies To list.

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