PicoXLSX Library Documentation
![]() | WorksheetMergeCells Method (CellRange) |
Merges the defined cell range
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
public string MergeCells( CellRange cellRange )
Parameters
- cellRange
- Type: PicoXLSXCellRange
Range to merge
Return Value
Type: StringReturns the validated range of the merged cells (e.g. 'A1:B12')

Exception | Condition |
---|---|
RangeException | Throws an RangeException if the passed cell range is out of range |
