FindReplaceNextText
Find the syntax, use, parameters, return values, and an example for the FindReplaceNextText macro command in Connexion client.
Syntax | BOOL = CS.FindReplaceNextText (sOldText, sNewText, bMatchCase) |
---|---|
Use to | Find the next occurrence of specified text and select it. Another instance of FindReplaceNextText replaces the selected text, moves to the next occurrence, and selects it. This macro command combines FindText and Replace commands and is used primarily for the macro recorder. |
Parameters |
|
Return values | TRUE if the action is successful, or FALSE if not. |
Example | Sub Main()
Dim CS As Object Dim sText As String If CS.IsOnline = False Then CS.Search “WC”, “#1” CS.CursorRow = 9 If CS.FindReplaceNextText(“Rand”, “McNally”, True) > False Then If CS.FindReplaceNextText(“Rand,” “McNally,” True) = False Then |
What this example does |
|