ReferencesEvents Property (VBA Add-In Object Model)

Microsoft VBA

ReferencesEvents Property

           

Returns the ReferencesEvents object. Read-only.

Settings

The setting for the argument you pass to the ReferencesEvents property is:

Argument Description
vbproject If vbproject points to Nothing, the object that is returned will supply events for the References collections of all VBProject objects in the VBProjects collection.
If vbproject points to a valid VBProject object, the object that is returned will supply events for only the References collection for that project.

Remarks

The ReferencesEvents property takes an argument and returns an event source object. The ReferencesEvents object is the source for events that are triggered when references are added or removed.