Reference.BuiltIn property (Access)
The BuiltIn property returns a Boolean value indicating whether a Reference object points to a default reference that's necessary for Microsoft Access to function properly. Read-only Boolean.
Syntax
expression.BuiltIn
expression A variable that represents a Reference object.
Remarks
The BuiltIn property is available only by using Visual Basic and is read-only.
Value | Description |
---|---|
True (1) | The Reference object refers to a default reference that can't be removed. |
False (0) | The Reference object refers to a nondefault reference that isn't necessary for Access to function properly. |
The default references in Access include the Access 12.0 object library, Microsoft Office 12.0 Access Connectivity Engine, the Visual Basic For Applications library, OLE Automation library, and Microsoft ActiveX Data Objects 2.5 library.
Example
The following example prints the default references in the References collection.
Sub ReferenceBuiltInOnly()
Dim ref As Reference
' Enumerate through References collection.
For Each ref In References
' Check BuiltIn property.
If ref.BuiltIn = True Then
Debug.Print ref.Name
End If
Next ref
End Sub
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.