References Property

References Property [Access 2003 VBA Language Reference]

Office 2003

You can use the References property to access the References collection and its related properties, methods, and events.


expression Required. An expression that returns one of the objects in the Applies To list.


This property is available only by using Visual Basic and is read-only.

The References collection corresponds to the list of references in the References dialog box, available by clicking References on the Tools menu. Each Reference object represents one selected reference in the list. References that appear in the References dialog box but haven't been selected aren't in the References collection.


The following example displays a message indicating the number of boxes checked in the References dialog box.

MsgBox "There are " & Application.References.Count & " references."

Applies to | Application Object

See Also | Reference Object

© 2015 Microsoft