How can I stop current timers from firing again and terminate a sub

I have a timer that is fired every 100ms inside that timer I have different sub routine that are executed. If I hit a condition in which I would like to stop the timer and also exit the sub without re entering how could I do that?
Who is Participating?
MMTadminConnect With a Mentor Commented:
Every 100ms damn that's a lot of doing

Private Sub Timer

Timer.enabled = false

End Sub

Private Sub DoThis

Debug.Print "Hello"
Timer.Enabled = True

End Sub
Mike TomlinsonMiddle School Assistant TeacherCommented:
Stop the timer and exit the sub, just like you said?

    Exit Sub
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.