ApplicationEvents4_MailMergeDataSourceValidateEventHandler Delegate
Office 2003
A Delegate type used to add an event handler for the MailMergeDataSourceValidate event. The 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)
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
public delegate void ApplicationEvents4_MailMergeDataSourceValidateEventHandler( [In] Document Doc, [In] ref bool Handled );
public delegate void ApplicationEvents4_MailMergeDataSourceValidateEventHandler( /*in*/Document Doc, /*in*/boolean Handled );
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Doc
The mail merge main document.
- Handled
True runs the accompanying validation code against the mail merge data source. False cancels the data source validation.