Skip to main content
A newer version of this page is available. .

IXlMergedCells Methods

Represents a collection of merged cells in a worksheet.
Name Description
Add(XlCellRange, Boolean) Merges cells in the specified cell range and appends the resulting merged range to the end of the collection.
Add(XlCellRange) Merges cells in the specified cell range and appends the resulting merged range to the end of the collection.
Clear() Removes all merged cells from the collection.
Contains(XlCellRange) Determines whether the collection contains the specified merged cell.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(XlCellRange) Returns the index of the specified merged cell in the collection.
Remove(XlCellRange) Removes the specified merged cell from the collection.
RemoveAt(Int32) Removes the merged cell at the specified index from the collection.
See Also