Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / SelectNeighborNonEmptyCells Method
An integer value indicates the context row.
An integer value indicates the context column.


In This Topic
    SelectNeighborNonEmptyCells Method
    In This Topic
    Get the cell range around the specified cell which contains data.
    Syntax
    'Declaration
     
    
    Public Function SelectNeighborNonEmptyCells( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As Reference
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim value As Reference
     
    value = instance.SelectNeighborNonEmptyCells(row, column)
    public Reference SelectNeighborNonEmptyCells( 
       int row,
       int column
    )

    Parameters

    row
    An integer value indicates the context row.
    column
    An integer value indicates the context column.

    Return Value

    The cell range around the specified cell which contains data.
    See Also