Programming Reference Manual
 
Syntax
 
Stop
 
Description
Pause execution. If execution is resumed then it starts at the next instruction. Use End to terminate the macro completely.
See Also
 
Example
 
Sub Main
    For I = 1 To 10
        Debug.Print I
        If I = 3 Then Stop
    Next I
End Sub