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

MailMerge.ViewMailMergeFieldCodes Property (Publisher)

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

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