References.AddFromFile method (Access)

The AddFromFile method creates a reference to a type library in a specified file.


expression.AddFromFile (FileName)

expression A variable that represents a References object.


Name Required/Optional Data type Description
FileName Required String A string expression that evaluates to the full path and file name of the file containing the type library to which you wish to set a reference.

Return value


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.