ApplicationEvents4_Event.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
Event MailMergeDataSourceValidate As ApplicationEvents4_MailMergeDataSourceValidateEventHandler
'Usage
Dim instance As ApplicationEvents4_Event
Dim handler As ApplicationEvents4_MailMergeDataSourceValidateEventHandler

AddHandler instance.MailMergeDataSourceValidate, handler

If you don't have address verification software installed on your computer, the MailMergeDataSourceValidate event allows you to create simple filtering routines, such as looping through records to check the postal codes and removing any that are non-U.S.

Show: