Reference Object (VBA Add-In Object Model)

Microsoft VBA

Reference Object

                   

Represents a reference to a type library or a project.

Remarks

Use the Reference object to verify whether a reference is still valid.

The IsBroken property returns True if the reference no longer points to a valid reference. The BuiltIn property returns True if the reference is a default reference that can't be moved or removed. Use the Name property to determine if the reference you want to add or remove is the correct one.