title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Workbook.MergeWorkbook method (Excel) |
vbaxl10.chm199111 |
|
|
393790c6-3c19-7149-a999-b8712e7a6855 |
05/29/2019 |
medium |
Merges changes from one workbook into an open workbook.
expression.MergeWorkbook (FileName)
expression A variable that represents a Workbook object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
FileName | Required | Variant | The file name of the workbook that contains the changes to be merged into the open workbook. |
This example merges changes from Book1.xls into the active workbook.
ActiveWorkbook.MergeWorkbook "Book1.xls"
[!includeSupport and feedback]