Expand Minimize

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)

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler ( _
	Doc As Document, _
	<OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New ApplicationEvents4_MailMergeBeforeRecordMergeEventHandler(AddressOf HandlerMethod)

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.

Community Additions

ADD
Show:
© 2014 Microsoft