Table of contents
Collapse the table of content
Expand the table of content

Can't add a reference to the specified file

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Not all object libraries ortype libraries can be accessed by Visual Basic. This error has the following cause and solution:

  • You tried to use the Add References dialog box to add a reference to a type library or object library that can't be used by Visual Basic. Check the documentation for the object represented by the library to see if it's available in some other form that Visual Basic can use.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft