InfoConnect for Unisys VBA Guide
SearchText4 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.
Ending row for the search.
Ending column for the search.
Specifies the search direction.
Specifies the role of letter case in the search.
Searches for the specified text on the screen, from the specified starting location and to the specified ending 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 FindOptions, _
   ByVal textComparison As TextComparisonOption _
) 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.
endRow
Ending row for the search.
endColumn
Ending column for the search.
findOption
Specifies the search direction.
textComparison
Specifies the role of letter case in the search.

Return Value

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

 

 


2015 Attachmate

Send Feedback