This documentation is archived and is not being maintained.

ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler Delegate

A Delegate type used to add an event handler for the MailMergeBeforeRecordMerge event. The MailMergeBeforeRecordMerge event occurs as a merge is executed for the individual records in a merge.

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

[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler(
	Document Doc,
	out bool Cancel
)

Parameters

Doc
Type: Microsoft.Office.Interop.Word.Document
The mail merge main document.
Cancel
Type: System.Boolean%
True stops the mail merge process for the current record only before it starts.
Show: