Bagikan melalui


MailMerge.Check Method (Word)

Simulates the mail merge operation, pausing to report each error as it occurs.

Syntax

expression .Check

expression Required. A variable that represents a MailMerge object.

Example

This example checks the active document for mail merge errors.

Dim intState As Integer 
 
intState = ActiveDocument.MailMerge.State 
If intState = wdMainAndDataSource Or _ 
 intState = wdMainAndSourceAndHeader Then 
 ActiveDocument.MailMerge.Check 
End If

See Also

Concepts

MailMerge Object Members

MailMerge Object