Share via


MailMergeDataSource.Close Method

Publisher Developer Reference

Closes the specified mail merge data source, cancels the mail merge, and converts all mail merge data fields to plain text.

Syntax

expression.Close

expression   A variable that represents a MailMergeDataSource object.

Example

The following example closes the data source for the active mail merge publication.

Visual Basic for Applications
  ActiveDocument.MailMerge.DataSource.Close

See Also