Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IRange Interface / find Method / find(Object,IRange) Method
The data to search for. Can be a String, double, Date,LocalDateTime, Calendar, boolean or int.
The cell after which you want the search to begin. Thiscorresponds to the position of the active cell when a search is done from the user interface. Notice that After must be a single cell in the range. Remember that the search begins after this cell; the specified cell isn't searched until the method wraps back around to this cell. If you do not specify this argument, the search starts at the cell in the upper-left corner of the range when FindOptions.SearchDirection is SearchDirection.Next, or at the cell in the bottom-right corner of the range when FindOptions.SearchDirection is SearchDirection.Previous.
In This Topic
    find(Object,IRange) Method
    In This Topic
    Finds specific information in a range.
    Syntax
    IRange find( 
       java.lang.Object what,
       IRange after
    )

    Parameters

    what
    The data to search for. Can be a String, double, Date,LocalDateTime, Calendar, boolean or int.
    after
    The cell after which you want the search to begin. Thiscorresponds to the position of the active cell when a search is done from the user interface. Notice that After must be a single cell in the range. Remember that the search begins after this cell; the specified cell isn't searched until the method wraps back around to this cell. If you do not specify this argument, the search starts at the cell in the upper-left corner of the range when FindOptions.SearchDirection is SearchDirection.Next, or at the cell in the bottom-right corner of the range when FindOptions.SearchDirection is SearchDirection.Previous.

    Return Value

    A IRange object that represents the first cell where that informationis found.
    See Also