 | WorksheetMergeCells(Range) Method |
Merges the defined cell range
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
Syntaxpublic string MergeCells(
Range cellRange
)
Parameters
- cellRange Range
- Range to merge
Return Value
StringReturns the validated range of the merged cells (e.g. 'A1:B12')
Exceptions| Exception | Condition |
|---|
| RangeException | Throws a RangeException if the passed cell range is out of range |
See Also