ApplicationEvents4_MailMergeDataSourceValidate2EventHandler delegate

Office 2013 and later

A Delegate type used to add an event handler for the MailMergeDataSourceValidate2 event. The MailMergeDataSourceValidate2 event occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box.

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

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

Parameters

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

The mail merge main document.

Handled
Type: System.Boolean

true if the add-in has handled the validation event.

Show: