Share via


References.AddFromFile Method (Access)

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

Syntax

expression .AddFromFile(FileName)

expression A variable that represents a References object.

Parameters

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

Reference

See Also

Concepts

References Collection

References Object Members