Spread Windows Forms 12.0 Product Documentation
Range Method (IRange)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IRange Interface : Range Method
The name of the range. This must be an A1-style reference.
The cell in the lower-right corner of the range.
Get an IRange object that represents a cell or a range of cells.
Syntax
'Declaration
 
Function Range( _
   ByVal cell1 As String, _
   Optional ByVal cell2 As String _
) As IRange
'Usage
 
Dim instance As IRange
Dim cell1 As String
Dim cell2 As String
Dim value As IRange
 
value = instance.Range(cell1, cell2)
IRange Range( 
   string cell1,
   string cell2
)

Parameters

cell1
The name of the range. This must be an A1-style reference.
cell2
The cell in the lower-right corner of the range.

Return Value

An IRange object which provide access to cell values, formulas, formatting...
See Also

Reference

IRange Interface
IRange Members