Share via


MailMerge.EditMainDocument Method

Activates the mail merge main document associated with the specified header source or data source document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub EditMainDocument
'Usage
Dim instance As MailMerge

instance.EditMainDocument()
void EditMainDocument()

Remarks

If the main document isn't open, an error occurs. Use the Open method if the main document isn't currently open.

See Also

Reference

MailMerge Interface

MailMerge Members

Microsoft.Office.Interop.Word Namespace