Share via


Subdocuments.Merge Method

Merges the specified subdocuments of a master document into a single subdocument.

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

Syntax

'Declaration
Sub Merge ( _
    ByRef FirstSubdocument As Object, _
    ByRef LastSubdocument As Object _
)
'Usage
Dim instance As Subdocuments
Dim FirstSubdocument As Object
Dim LastSubdocument As Object

instance.Merge(FirstSubdocument, LastSubdocument)
void Merge(
    ref Object FirstSubdocument,
    ref Object LastSubdocument
)

Parameters

  • FirstSubdocument
    Type: System.Object%
    Optional Object. The path and file name of the original document you want to merge revisions with.
  • LastSubdocument
    Type: System.Object%
    Optional Object. The last subdocument in a range of subdocuments to be merged.

See Also

Reference

Subdocuments Interface

Subdocuments Members

Microsoft.Office.Interop.Word Namespace