Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IRange Interface / Find Method
The data to search for. Can be a System.String, System.Double, System.DateTime, System.TimeSpan, System.Boolean or System.Int32.
The cell after which you want the search to begin. This corresponds 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 unless your code 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.
The find options
In This Topic
    Find Method
    In This Topic
    Finds specific information in a range.
    Syntax
    IRange Find( 
       System.object what,
       IRange after,
       FindOptions options
    )

    Parameters

    what
    The data to search for. Can be a System.String, System.Double, System.DateTime, System.TimeSpan, System.Boolean or System.Int32.
    after
    The cell after which you want the search to begin. This corresponds 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 unless your code 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.
    options
    The find options

    Return Value

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