Click or drag to resize
NanoXLSX

WorksheetMergeCells(String) Method

Merges the defined cell range

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public string MergeCells(
	string cellRange
)

Parameters

cellRange  String
Range to merge (e.g. 'A1:B12')

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
FormatExceptionThrows a FormatException if the passed cell range is malformed
See Also