GetAddress Method (Int32, Int32, Int32, Int32)

Office Open XML

Returns the AlphaNumeric representation that Excel expects for a Cell Address

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public static string GetAddress(
	int FromRow,
	int FromColumn,
	int ToRow,
	int ToColumn
)
Visual Basic (Declaration)
Public Shared Function GetAddress ( _
	FromRow As Integer, _
	FromColumn As Integer, _
	ToRow As Integer, _
	ToColumn As Integer _
) As String
Visual C++
public:
static String^ GetAddress(
	int FromRow, 
	int FromColumn, 
	int ToRow, 
	int ToColumn
)

Parameters

FromRow
Type: System..::.Int32
From row number
FromColumn
Type: System..::.Int32
From column number
ToRow
Type: System..::.Int32
To row number
ToColumn
Type: System..::.Int32
From column number

Return Value

The cell address in the format A1

See Also