Click or drag to resize

CellRangeFindText Method

Finds the first occurrence of the specified text in the current cell range.

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.6.5
Syntax
public bool FindText(
	string text,
	bool matchCase,
	bool matchEntireCellContents,
	out int row,
	out int column
)

Parameters

text  String
Test to search.
matchCase  Boolean
True to match exact case, false otherwise.
matchEntireCellContents  Boolean
True to match entire cell contents, false otherwise.
row  Int32
Index of the row where the text was found or -1 if no text was found.
column  Int32
Index of the column where the text was found or -1 if no text was found.

Return Value

Boolean
True if text is found, false otherwise.
See Also