well, im creating a tool.
And i've implemented some Error tools (On error goto..and what not)
but i have a problem, If an error occours i want to show a msgbox - once that msgbox has been clicked it then exits the sub
I've tried numerous ammount of ways all fail on me
Someone please enlighten me! pls x[

e.g.

vb Code:
  1. Private Sub cmd1_Click()
  2. On Error GoTo 321
  3. Timer1.Interval = txtTimer.Text
  4. On Error GoTo 123
  5. Timer1.Enabled = True 'Start sending messages
  6. 123:
  7. MsgBox "Error123", vbInformation
  8. [B]exit sub[/B]
  9. 321:
  10. MsgBox "Error321", vbInformation
  11. End Sub