Cell.GetCellRange Method (String, String)

PicoXLSX

PicoXLSX

CellGetCellRange Method (String, String)

Get a list of cell addresses from a cell range

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
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