Spread Windows Forms 17
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, _
       Optional ByVal includeTable As Boolean _
    ) As Reference
    'Usage
     
    
    Dim instance As Worksheet
    Dim row As Integer
    Dim column As Integer
    Dim includeTable As Boolean
    Dim value As Reference
     
    value = instance.SelectNeighborNonEmptyCells(row, column, includeTable)
    public Reference SelectNeighborNonEmptyCells( 
       int row,
       int column,
       bool includeTable
    )

    Parameters

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

    Return Value

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