Link Search Menu Expand Document

SSpread.RemoveCellSpan Method

Explanation Unmerge cells.

The cell range containing the specified anchor cell is unmerged.

Use the GetCellSpan method to see the cell merge status. Use the AddCellSpan method to merge cells.
Call format RemoveCellSpan(col, row)
Return value None
Arguments col Column number of anchor cell to be unmerged
row Row number of the anchor cell to be unmerged
Exception None
Example of use
    AddCellSpan(2, 3, 4, 4);
    var span = GetCellSpan(4, 4);
    if (span != $GetCellSpanNo) {
        print(span.ColAnchor, span.RowAnchor, span.NumCols, span.NumRows, "\n");
    }
    RemoveCellSpan(span.ColAnchor, span.RowAnchor);
    
Related item AddCellSpan, GetCellSpan method