Partager via


_Workbook.MergeWorkbook Method

Merges changes from one workbook into an open workbook.

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

Syntax

'Declaration
Sub MergeWorkbook ( _
    Filename As Object _
)
'Usage
Dim instance As _Workbook
Dim Filename As Object

instance.MergeWorkbook(Filename)
void MergeWorkbook(
    Object Filename
)

Parameters

  • Filename
    Type: System.Object

    Required Object. The file name of the workbook that contains the changes to be merged into the open workbook.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace