Share via


ViewMailMergeFieldCodes Property.ViewMailMergeFieldCodes Property

Publisher Developer Reference

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 ViewMailMergeFieldCodes Property 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.

Visual Basic for Applications
  ActiveDocument.MailMerge.ViewMailMergeFieldCodes = False

See Also