ApplicationEvents4_Event.MailMergeDataSourceValidate2 Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.