IApplicationEvents3.MailMergeBeforeMerge Method
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub MailMergeBeforeMerge ( _
Doc As Document, _
StartRecord As Integer, _
EndRecord As Integer, _
ByRef Cancel As Boolean _
)
'Usage
Dim instance As IApplicationEvents3
Dim Doc As Document
Dim StartRecord As Integer
Dim EndRecord As Integer
Dim Cancel As Boolean
instance.MailMergeBeforeMerge(Doc, StartRecord, _
EndRecord, Cancel)
void MailMergeBeforeMerge(
Document Doc,
int StartRecord,
int EndRecord,
ref bool Cancel
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
- StartRecord
Type: System.Int32
- EndRecord
Type: System.Int32
- Cancel
Type: System.Boolean%