Searches the specified text, starting from the specified screen location for "searchRange" byte positions.
object.SearchText2( _
ByVal As String, _
ByVal As Long, _
ByVal startColumn As Long, _
ByVal As Long, _
ByVal 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.