InfoConnect for Airlines VBA Guide
SearchText4 Function (IbmScreen)
The specified text string.
Start row.
Start column.
End row.
End column.
Specifies the search direction.
Indicates how text is compared against the text on the host screen.
Searches the specified text, starting from the specified screen location and ending at the specified end screen location.
Syntax
object.SearchText4( _
   ByVal text As String, _
   ByVal startRow As Long, _
   ByVal startColumn As Long, _
   ByVal endRow As Long, _
   ByVal endColumn As Long, _
   ByVal findOption As FindOption, _
   ByVal textComparison As TextComparisonOption _
) As _ScreenPoint

Parameters

text
The specified text string.
startRow
Start row.
startColumn
Start column.
endRow
End row.
endColumn
End column.
findOption
Specifies the search direction.
textComparison
Indicates how text is compared against the text on the host screen.

Return Value

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