Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 926 Bytes

Excel.Workbook.MergeWorkbook.md

File metadata and controls

43 lines (26 loc) · 926 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.MergeWorkbook method (Excel)
vbaxl10.chm199111
vbaxl10.chm199111
Excel.Workbook.MergeWorkbook
393790c6-3c19-7149-a999-b8712e7a6855
05/29/2019
medium

Workbook.MergeWorkbook method (Excel)

Merges changes from one workbook into an open workbook.

Syntax

expression.MergeWorkbook (FileName)

expression A variable that represents a Workbook object.

Parameters

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.

Example

This example merges changes from Book1.xls into the active workbook.

ActiveWorkbook.MergeWorkbook "Book1.xls"

[!includeSupport and feedback]