MailMerge.HighlightMergeFields property (Word)

True to highlight the merge fields in a document. Read/write Boolean.


expression. HighlightMergeFields

expression A variable that represents a 'MailMerge' object.


This example turns off highlighting merge fields in the active document.

Sub HighlightFields() 
 ActiveDocument.MailMerge.HighlightMergeFields = False 
End Sub

See also

MailMerge Object

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.