Range.MergeCells Property

Definition

Determines if the range or style contains merged cells.

public:
 property System::Object ^ MergeCells { System::Object ^ get(); void set(System::Object ^ value); };
public object MergeCells { get; set; }
Public Property MergeCells As Object

Property Value

Remarks

This property returns True if the range or style contains merged cells.

When you select a range that contains merged cells, the resulting selection may be different from the intended selection. Use the Address[Object, Object, XlReferenceStyle, Object, Object] property to check the address of the selected range.

Applies to