Click or drag to resize
NanoXLSX

WorksheetMergeCells(Range) Method

Merges the defined cell range

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
public string MergeCells(
	Range cellRange
)

Parameters

cellRange  Range
Range to merge

Return Value

String
Returns the validated range of the merged cells (e.g. 'A1:B12')
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException if the passed cell range is out of range
See Also