InfoConnect for Airlines VBA Guide
SearchText2 Function (Screen)
The text string to search for.
Starting row for the search. The valid range is 1 through the number of rows.
Starting column for the search. The valid range is 1 through the number of columns.
The number of character positions to search.
Specifies the search direction.
Searches for the specified text, starting from the specified screen location for "searchRange" byte positions.
Syntax
object.SearchText2( _
   ByVal text As String, _
   ByVal startRow As Long, _
   ByVal startColumn As Long, _
   ByVal searchRange As Long, _
   ByVal findOption As FindOptions _
) As _ScreenPoint

Parameters

text
The text string to search for.
startRow
Starting row for the search. The valid range is 1 through the number of rows.
startColumn
Starting column for the search. The valid range is 1 through the number of columns.
searchRange
The number of character positions to search.
findOption
Specifies the search direction.

Return Value

The coordinate of the located text or null, if the text is not found.
See Also