Cell.ResolveCellCoordinate Method (String, Int32, Int32)

NanoXLSX

NanoXLSX

CellResolveCellCoordinate Method (String, Int32, Int32)

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

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
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