Cell.ResolveCellCoordinate Method (String, Int32, Int32)

PicoXLSX

PicoXLSX

CellResolveCellCoordinate Method (String, Int32, Int32)

Gets the column and row number (zero based) of a cell by the address

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public static void ResolveCellCoordinate(
	string address,
	out int column,
	out int row
)

Parameters

address
Type: SystemString
Address as string in the format A1 - XFD1048576
column
Type: SystemInt32
Column number of the cell (zero-based) as out parameter
row
Type: SystemInt32
Row number of the cell (zero-based) as out parameter
Exceptions
ExceptionCondition
FormatExceptionThrows a FormatException if the range address was malformed
RangeExceptionThrows an RangeException if the row or column number was out of range
See Also