InfoConnect for Airlines VBA Guide
SearchText2 Function (IbmScreen)
The text to be searched.
Screen row location.
Screen column location.
The number of byte positions to be searched.
Specifies the search direction.
Searches 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 FindOption _
) As _ScreenPoint

Parameters

text
The text to be searched.
startRow
Screen row location.
startColumn
Screen column location.
searchRange
The number of byte positions to be searched.
findOption
Specifies the search direction.

Return Value

The screen coordinate where the specified text begins, if found, or null if the text could not be found.
See Also