ApplicationEvents4_MailMergeAfterMergeEventHandler Delegate
A Delegate type used to add an event handler for the MailMergeAfterMerge event. The MailMergeAfterMerge event occurs after all records in a mail merge have merged successfully.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_MailMergeAfterMergeEventHandler ( _
Doc As Document, _
DocResult As Document _
)
'Usage
Dim instance As New ApplicationEvents4_MailMergeAfterMergeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_MailMergeAfterMergeEventHandler(
Document Doc,
Document DocResult
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
The mail merge main document.
- DocResult
Type: Microsoft.Office.Interop.Word.Document
The document created from the mail merge.