Busca la primera celda de texto XLS clásica cargada que contiene el texto solicitado
Sintaxis
function FindText(SearchText: WideString; out Row: Integer; out Col: Integer): Boolean; overload;
function FindText(SearchText: WideString; out Row: Integer; out Col: Integer; MatchCase: Boolean): Boolean; overload;
Observaciones
FindText ;
function True FindText(AText: WideString; MatchCase ;
Cuando no se encuentra ninguna coincidencia, el método devuelve False escanea las celdas existentes de la hoja de cálculo en orden de fila mayor y devuelve coordenadas de fila y columna públicas basadas en 1 para la primera coincidencia
Ejemplo
if Workbook.Sheets[1].FindText('[CONTACT]', Row, Col) then
Workbook.Sheets[1].Cells[Row, Col].Value := 'John Smith';
Véase también