Stop Instruction

Syntax:
Stop
Group: Flow Control
Description:
Pause execution. If execution is resumed then it starts at the next instruction. Use End to terminate the macro completely.
Example:

Sub Main
For
I = 1 To 10
Debug
.Print I
If
I = 3 Then Stop
Next I
End
Sub