Table of contents
TOC
Collapse the table of content
Expand the table of content

MailMerge.SuppressBlankLines Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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
© 2018 Microsoft