Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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.