Export (0) Print
Expand All
Expand Minimize

ApplicationEvents4_MailMergeDataSourceValidateEventHandler delegate

A Delegate type used to add an event handler for the MailMergeDataSourceValidate event. The MailMergeDataSourceValidate event occurs when a user performs address verification by clicking Validate 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_MailMergeDataSourceValidateEventHandler ( _
	Doc As Document, _
	ByRef Handled As Boolean _
)
'Usage
Dim instance As New ApplicationEvents4_MailMergeDataSourceValidateEventHandler(AddressOf HandlerMethod)

Parameters

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

The mail merge main document.

Handled
Type: System.Boolean

True runs the accompanying validation code against the mail merge data source. False cancels the data source validation.

Show:
© 2014 Microsoft