MailMerge.SuppressBlankLines property (Word)
True if blank lines are suppressed when mail merge fields in a mail merge main document are empty. Read/write Boolean.
Syntax
expression. SuppressBlankLines
expression An expression that returns a 'MailMerge' object.
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
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for