stop in vba code example
Example: vba stop
Dim i As Long
For i = 1 To 10 ' Start For...Next loop.
Debug.Print i ' Print i to the Immediate window.
Stop ' Stop during each iteration.
Next i
Dim i As Long
For i = 1 To 10 ' Start For...Next loop.
Debug.Print i ' Print i to the Immediate window.
Stop ' Stop during each iteration.
Next i