Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelXMLHelpers Class / GetCellRange Method / GetCellRange(Int32,Int32,Int32,Int32) Method
Start index of the row base 0
Start index of the column base 0
End index of the row base 0
End index of the column base 0


In This Topic
GetCellRange(Int32,Int32,Int32,Int32) Method
In This Topic
Gets the cell range.
Syntax
'Declaration
 
Public Overloads Shared Function GetCellRange( _
   ByVal startRowIndex As Integer, _
   ByVal startColumnIndex As Integer, _
   ByVal endRowIndex As Integer, _
   ByVal endColumnIndex As Integer _
) As String
 
'Usage
 
Dim startRowIndex As Integer
Dim startColumnIndex As Integer
Dim endRowIndex As Integer
Dim endColumnIndex As Integer
Dim value As String
 
value = ExcelXMLHelpers.GetCellRange(startRowIndex, startColumnIndex, endRowIndex, endColumnIndex)

Parameters

startRowIndex
Start index of the row base 0
startColumnIndex
Start index of the column base 0
endRowIndex
End index of the row base 0
endColumnIndex
End index of the column base 0

Return Value

the cell range name, such as "A1:C3".
See Also