XL.Sheet.DeleteMerge
--------------------

Removes merged cells.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.DeleteMerge"; BookRef; SheetIndex; Row; Column ) 

**MBS**( **"XL.Sheet.DeleteMerge";** /\* Removes merged cells. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**; /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/   
**$Row**; /\* The row for the cell. First row has index 0. \*/   
**$Column**) /\* The column for the cell. First column has index 0. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |
| Row | The row for the cell. First row has index 0. | $row |
| Column | The column for the cell. First column has index 0. | $column |

### Result

Returns OK or error.

### Description

Removes merged cells.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.GetMerge](XLSheetGetMerge.md)
- [XL.Sheet.SetMerge](XLSheetSetMerge.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[XL.Sheet.DelMergeByIndex](XLSheetDelMergeByIndex.md) - [XL.Sheet.DeleteNamedRange](XLSheetDeleteNamedRange.md)

[HTML Version](XLSheetDeleteMerge.shtml)