ApplicationEvents4_Event.MailMergeDataSourceValidate2 Event

Definition

Occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box.

public:
 event Microsoft::Office::Interop::Word::ApplicationEvents4_MailMergeDataSourceValidate2EventHandler ^ MailMergeDataSourceValidate2;
event Microsoft.Office.Interop.Word.ApplicationEvents4_MailMergeDataSourceValidate2EventHandler MailMergeDataSourceValidate2;
member this.MailMergeDataSourceValidate2 : Microsoft.Office.Interop.Word.ApplicationEvents4_MailMergeDataSourceValidate2EventHandler 
Event MailMergeDataSourceValidate2 As ApplicationEvents4_MailMergeDataSourceValidate2EventHandler 

Event Type

Remarks

If you do not have address verification software installed on your computer, the MailMergeDataSourceValidate2 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.

Note: You cannot raise this event from within a Microsoft Visual Basic for Applications (VBA) project. This event functions correctly only in managed add-ins and external applications. For COM add-ins, use the MailMergeDataSourceValidate event.

Applies to