Merge Method

See Also         Example         Applies To

Creates a merged cell from the specified range.

Syntax

expression.Merge

expression   An expression that returns a Range object. This method fails if the range only partially encloses a previously merged cell.

Remarks

When you create a merged cell, the value in the upper-left cell in the specified range is used for the merged cell value. All other cell values in the merged cell are ignored.