ItemRemoved Event (Add-Ins)

       

Occurs after a project, control, or component is removed from the current project.

Syntax

Sub object_ItemRemoved (vbcontrol As VBControl)

Sub object_ItemRemoved (vbproject As VBProject)

Sub object_ItemRemoved (vbcomponent As VBComponent)

The ItemRemoved event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
vbproject A VBProject object specifying the name of the project that was removed.
vbcomponent A VBComponent object specifying the name of the component that was removed.
vbcontrol A VBControl or SelectedVBControl object specifying the name of the component that was removed.