Worksheet.MergeCells Method (String)

PicoXLSX

PicoXLSX

WorksheetMergeCells Method (String)

Merges the defined cell range

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public string MergeCells(
	string cellRange
)

Parameters

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

Return Value

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