ItemRemoved Event
Applies To
References collection.
Description
The ItemRemoved event occurs when a reference is removed from the project.
Notes
- The ItemRemoved event applies to the References collection. It isn't associated with a control, form, or report, as are most other events. Therefore, in order to create a procedure definition for the ItemRemoved event procedure, you must use a special syntax.
- The ItemRemoved event can run only an event procedure when it occurs, it cannot run a macro.
Remarks
This event occurs only when you remove a reference from code. It doesn't occur when you remove a reference from the References dialog box, available by clicking References on the Tools menu when the Module window is the active window.
See Also
ItemAdded event.