Spread Windows Forms 17
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.


In This Topic
    Range Method (IRange)
    In This Topic
    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)

    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.
    See Also