Description Searches for a given string in the output window.
Syntax foundIt = FindTextString ( findThis, row, col )
Parameters foundIt (Boolean) Indicates if the string was found in a cell in the output window.
findThis As String The string to search for.
row As Long Will hold the row where the string was found.
col As Long Will hold the column where the string was found.
Remarks This function searches for a given string 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 and the entire string in the cell must match. If the string is found the function returns True and sets row and col to be the coordinates of the cell that contains the string. If the string is not found the function returns False and sets row and col to 0.
See Also Examples
|