Wires a control event to a specific sub.
Syntax: AddEvent (Control Name, Event Name, Sub Name)
...
Note: As in this example, Event Name is not quoted and can't be a variable.
Example:
AddEvent ("Button1", Click, "MySub")
Sub MySub
Form1.Text = Sender.Text
End Sub