Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public BreakNow As Boolean
Private Sub cmdCancel_Click()
BreakNow = True
End Sub
Private Sub cmdAnimate_Click()
BreakNow = False
While NotDone 'it doesn't matter what kind of loop
DoEvents
If BreakNow = True Then
GoTo EndAnimation
End If
'the rest of your loop here
Wend
EndAnimation:
'clean up after the animation here
End Sub