Hi all.
Is it possible to stop a Sub from executing its code when you, for example, click a button?
Example:
Code:Private Sub ExecutedCode() 'doing things here End Sub Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click 'how to stop ExecutedCode() from being executed? End Sub




Reply With Quote
