Cell.GetCellRange Method (String, String)

NanoXLSX

NanoXLSX

CellGetCellRange Method (String, String)

Get a list of cell addresses from a cell range

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public static List<CellAddress> GetCellRange(
	string startAddress,
	string endAddress
)

Parameters

startAddress
Type: SystemString
Start address as string in the format A1 - XFD1048576
endAddress
Type: SystemString
End address as string in the format A1 - XFD1048576

Return Value

Type: ListCellAddress
List of cell addresses
Exceptions
ExceptionCondition
FormatExceptionThrows a FormatException if a part of the passed range is malformed
RangeExceptionThrows an RangeException if the range is out of range (A-XFD and 1 to 1048576)
See Also