Export (0) Print
Expand All

ApplicationEvents4_Event.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)

event ApplicationEvents4_MailMergeDataSourceValidate2EventHandler MailMergeDataSourceValidate2

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.

NoteNote

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.

Show:
© 2014 Microsoft