MailMerge Object
Word Developer Reference |
Represents the mail merge functionality in Word.
Remarks
Use the MailMerge property to return the MailMerge object. The MailMerge object is always available regardless of whether the mail merge operation has begun. Use the State property to determine the status of the mail merge operation. The following example executes a mail merge if the active document is a main document with an attached data source.
Visual Basic for Applications |
---|
|
The following example merges the main document with the first three records in the attached data source and then sends the results to the printer.
Visual Basic for Applications |
---|
|
See Also