Searches for the specified text, starting from the specified screen location.
object.SearchText( _
ByVal As String, _
ByVal As Long, _
ByVal startColumn As Long, _
ByVal As FindOptions _
) As _ScreenPoint
Parameters
- text
- 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.
- findOption
- Specifies the search direction.
Return Value
The coordinate of the located text or null, if the text is not found.