Programming with Reflection
RemoveEvent method
Syntax object.RemoveEvent Event
Deletes an event created using the DefineEvent method.
Event Argument type: Integer
Specifies the number assigned (with the DefineEvent method) to the event that is to be deleted.
Notes
· Use RemoveOnEvent to delete events created using either the OnEvent method or the Event Setup dialog box.