Description Searches for a substring in the output window.
Syntax success = FindTextSubString ( findThis, row, col )
Parameters success (Boolean) Indicates if the substring was found (True) or not (False).
findThis As String The substring to be found.
row As Long Will hold the row where the substring was found.
col As Long Will hold the column where the substring was found.
Remarks This function searches for a substring in the output window. The search starts at the current print position in the output window and proceeds toward the top of the output window. The search stops at the first instance of a match. The search is case sensitive. This function differs from FindTextString in that it checks within a cell for the string, not just the cell value. For example, if a particular cell had the value "opened cassegrain.frd" and you were searching for "cassegrain", FindTextSubString would return the row and column of the cell, but FindTextString would not.
See Also Examples
|