MailMerge.ViewMailMergeFieldCodes property (Publisher)
True if merge field names are displayed in a mail merge publication; False if information from the current record is displayed. Read/write Boolean.
Syntax
expression.ViewMailMergeFieldCodes
expression A variable that represents a MailMerge object.
Return value
Boolean
Remarks
If the active publication is not a mail merge publication, using this property has no effect.
Example
This example hides the mail merge field codes in the active publication.
ActiveDocument.MailMerge.ViewMailMergeFieldCodes = False
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.