Application.References property (Access)

Use the References property to access the References collection and its related properties, methods, and events. Read-only References collection.

Syntax

expression.References

expression A variable that represents an Application object.

Remarks

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.

Example

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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.