Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / FindPrevious Method
The cell before which you want to search. The search begins before this cell; the specified cell isn't searched until the method wraps back around to this cell. If this argument isn't specified, the search starts before the upper-left cell in the range.


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

    Parameters

    before
    The cell before which you want to search. The search begins before this cell; the specified cell isn't searched until the method wraps back around to this cell. If this argument isn't specified, the search starts before the upper-left cell in the range.

    Return Value

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