IWorkbook
FindOne Method (String, FindType)
|
This method seraches for the first cell with specified string value.
Examples
This sample shows how to find the first cell with specified string value:
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IXLSRange FindOne(
string findValue,
FindType flags
)
Function FindOne (
findValue As String,
flags As FindType
) As IXLSRange
IXLSRange^ FindOne(
String^ findValue,
FindType flags
)
abstract FindOne :
findValue : string *
flags : FindType -> IXLSRange
Parameters
-
findValue
-
Type:
System
String
Value to search.
-
flags
-
Type:
Spire.Xls
FindType
Type of value to search.
Return Value
Type:
IXLSRange
First found cell, or Null if value was not found.
See Also