Range.MergeCells Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.