Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / Range Method / Range(String,String) 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(String,String) Method
    In This Topic
    Get an IRange object that represents a cell or a range of cells.
    Syntax
    'Declaration
     
    
    Public Overloads Function Range( _
       ByVal cell1 As String, _
       Optional ByVal cell2 As String _
    ) As IRange
    'Usage
     
    
    Dim instance As Worksheet
    Dim cell1 As String
    Dim cell2 As String
    Dim value As IRange
     
    value = instance.Range(cell1, cell2)
    public 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.
    See Also