Parameters

String Text
The text string to search for.
Long StartRow
Row position in the presentation space at which to begin the search.
Long StartCol
Column position in the presentation space at which to begin the search.
Long Direction
Direction in which to search. Values are 1 for search forward, 2 for search backward