NanoXLSX Library Documentation
![]() | 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)
SyntaxC#
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
Exceptions| 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) |
See Also