MailMerge.EditMainDocument Method
Word Developer Reference |
Activates the mail merge main document associated with the specified header source or data source document.
Syntax
expression.EditMainDocument
expression Required. A variable that represents a MailMerge object.
Remarks
If the main document isn't open, an error occurs. Use the Open method if the main document isn't currently open.
Example
This example attempts to activate the main document associated with the active data source document. If the main document isn't open, the Open dialog box is displayed, with a message in the status bar.
Visual Basic for Applications |
---|
|
See Also