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

MailMerge Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.