ViewMailMergeFieldCodes Property

Microsoft Publisher Visual Basic

expression.ViewMailMergeFieldCodes

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

If the active publication isn't 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