Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 126.96.36.1995
|System ArgumentException||Merged range can't be created because some of the cells in the range are already merged.|
By setting this property to , you are merging all the cells (ExcelCell) in this range. Merging process will fail if any of the cells in the range is already merged.
When modifying merged cell, whole merged range is modified. For example, if you set ExcelCell.Value, value of merged range will be modified. You can find out if the cell is merged by checking if ExcelCell.MergedRange property is different than .