Merge Method

See Also         Example         Applies To

Cell object: Merges the specified table cell with another cell. The result is a single table cell.

Cells object: Merges the specified table cells with one another. The result is a single table cell.

Document object: Merges the changes marked with revision marks from one document to another.

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

Syntax 1

expression.Merge(MergeTo)

Syntax 2

expression.Merge

Syntax 3

expression.Merge(FileName)

Syntax 4

expression.Merge(FirstSubdocument, LastSubdocument)

expression   Syntax 1: An expression that returns a Cell object.

Syntax 2: An expression that returns a Cells object.

Syntax 3: An expression that returns a Document object.

Syntax 4: An expression that returns a Subdocuments object.

MergeTo   Required Cell. The cell to be merged with.

FileName   Required String. The path and file name of the original document you want to merge revisions with.

FirstSubdocument   Optional Variant. The first subdocument in a range of subdocuments to be merged.

LastSubdocument   Optional Variant. The last subdocument in a range of subdocuments to be merged.