Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / FindNext Method
The cell after which you want to search. The search begins after this cell; the specified cell is not searched until the method wraps back around to this cell. If this argument is not specified, the search starts after the cell in the upper-left corner of the range.


In This Topic
    FindNext Method
    In This Topic
    Continues a search that was begun with the Find method. Finds the next cell that matches those same conditions and returns a Range object that represents that cell.
    Syntax
    'Declaration
     
    
    Function FindNext( _
       Optional ByVal after As Object _
    ) As IRange
    'Usage
     
    
    Dim instance As IRange
    Dim after As Object
    Dim value As IRange
     
    value = instance.FindNext(after)
    IRange FindNext( 
       object after
    )

    Parameters

    after
    The cell after which you want to search. The search begins after this cell; the specified cell is not searched until the method wraps back around to this cell. If this argument is not specified, the search starts after the cell in the upper-left corner of the range.

    Return Value

    An IRange object that represents the first cell where that information is found.
    See Also