다음을 통해 공유


Workbook.MergeWorkbook Method (Excel)

Merges changes from one workbook into an open workbook.

Syntax

.MergeWorkbook(Filename)

A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Filename

필수

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"

참고 항목

개념

Workbook Object

Workbook Object Members