ApplicationEvents4_MailMergeBeforeMergeEventHandler delegate

A Delegate type used to add an event handler for the MailMergeBeforeMerge event. The MailMergeBeforeMerge event occurs when a merge is executed before any records merge.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

No code example is currently available or this language may not be supported.

Parameters

Doc
Type: Microsoft.Office.Interop.Word.Document

The mail merge main document.

StartRecord
Type: System.Int32

The first record in the data source to include in the mail merge.

EndRecord
Type: System.Int32

The last record in the data source to include in the mail merge.

Cancel
Type: System.Boolean

True stops the mail merge process before it starts.

Show: