PicoXLSX Library Documentation
![]() | 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)

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: ListCellAddressList of cell addresses

Exception | Condition |
---|---|
FormatException | Throws a FormatException if a part of the passed range is malformed |
RangeException | Throws an RangeException if the range is out of range (A-XFD and 1 to 1048576) |
