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

Object library's language setting incompatible with current project

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

The reference couldn't be added. This error has the following cause and solution:

  • You attempted to add a reference to an object library whoselocale isn't compatible with the locale of the currentproject. The reference was not added. To use that object library, a project whose locale is compatible with it must be created.

    Try registering both Visual Basic for Applications and the host application for the given language. The object library then becomes available in the References dialog box.

    Note When Visual Basic is the host application, it isn't possible to change a project's language setting. Any object libraries used must be compatible with the English/U.S. setting.

© 2018 Microsoft