MailMerge.MainDocumentType Property
Word Developer Reference |
Returns or sets the mail merge main document type. Read/write WdMailMergeMainDocType.
Syntax
expression.MainDocumentType
expression Required. A variable that represents a MailMerge object.
Example
This example creates a new document and makes it a catalog main document for a mail merge operation.
Visual Basic for Applications |
---|
|
This example determines whether the active document is a main document for a mail merge operation, and then it displays a message in the status bar.
Visual Basic for Applications |
---|
|
See Also