[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.FindPrevious

FindPrevious Method

FindPrevious(object)

Continues a search that was begun with the Find(object, object, FindLookIn, LookAt, SearchOrder, SearchDirection, bool) method. Finds the previous cell that matches those same conditions and returns an IRange object that represents that cell.

Declaration
IRange FindPrevious(object before = null)
Function FindPrevious(Optional before As Object = Nothing) As IRange
Parameters
Type Name Description
object 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.

Returns
Type Description
IRange

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