Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorksheet Interface / 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
     
    
    Overloads Function Range( _
       ByVal cell1 As String, _
       Optional ByVal cell2 As String _
    ) As IRange
    'Usage
     
    
    Dim instance As IWorksheet
    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.

    Return Value

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