This documentation is archived and is not being maintained.

MergeCells Property

Office 2003

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    Required. An expression that returns a Range object.


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