The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

WithEvents applicationEvents4_Event1 As ApplicationEvents4_Event
Function applicationEvents4_Event1_MailMergeDataSourceValidate(Doc As Document, _
	Handled As Boolean) As Void
	Handles applicationEvents4_Event1.MailMergeDataSourceValidate
End Function

event ApplicationEvents4_MailMergeDataSourceValidateEventHandler MailMergeDataSourceValidate;
 void add_MailMergeDataSourceValidate(ApplicationEvents4_MailMergeDataSourceValidateEventHandler handler);
 void remove_MailMergeDataSourceValidate(ApplicationEvents4_MailMergeDataSourceValidateEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions