Click or drag to resize

Workbook FindNumber Method

Finds the cell with the input number.
Examples
This sample shows how to find the first cell with specified double value:
<para>//Create workbook</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>//Find cell with specified double value</para><para>double value = 9.00;</para><para>IXLSRange result = workbook.FindNumber(value, false);</para>

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public CellRange FindNumber(
	double doubleValue,
	bool formulaValue
)

Parameters

doubleValue
Type: System Double
Double value to search for.
formulaValue
Type: System Boolean
Indicates whether includes formula value to search for.

Return Value

Type: CellRange
Found range.
See Also