Share via


MergeCells Property

True if the specified range is within a merged cell. False if the specified range does not contain a merged cell. Null if the specified range contains all or part of a merged cell and other cells outside of the merged cell. Read/write Variant.

expression.MergeCells

*expression   * Required. An expression that returns a Range object.

Remarks

When you select a range that contains merged cells, the resulting selection may be different from the intended selection.

Use the Address property to check the address of the selected range.

Use the UnMerge method to unmerge the specified range.

Applies to | Range Object

See Also | Merge Method | MergeArea Property