Hi everyone,

I'd like to abort my GoTo loop in "Private Sub Button1_Click", by clicking the" Private Sub Button5_Click". I need to activate "GoTo eend" from Button1_Click by clicking Button5_Click, so it will jump to eend: and will stop GoTo loop.

In different words: I'd like call Button1's "GoTo" function by clicking Button5. I've found this code, but it calls whole sub:
Code:
    Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
        'stop manually'
        Call Button1_Click(Me, e)
    End Sub
Thanks for help, I'll give reputation