SuppressBlankLines Property

Applies To

MailMerge object.

Description

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

See Also

Destination property, Execute method (Dialog, KeyBinding, and MailMerge objects).

Example

This example opens Main.doc and executes the mail merge operation. When merge fields are empty, blank lines are suppressed in the merge document.

Set myDoc = Documents.Open(FileName:="C:\My Documents\Main.doc")
With myDoc.MailMerge
    .SuppressBlankLines = True
    .Destination = wdSendToPrinter
    .Execute
End With