Incorrect OLE version

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Your versions of the OLE dynamic-link libraries (DLL) (Windows) or code resource (Macintosh) don't match those expected by the host application. In Microsoft Windows, the application searches for the DLLs first in the current directory, then along your path settings, and then in the WINDOWS\SYSTEM directory. This error has the following cause and solution:

  • Earlier OLE DLLs were encountered in the search before the DLLs expected by the host application. You should not try to use both versions of the DLLs.

Note that on the Macintosh, OLE files are normally only found in the Extensions folder so it is unlikely that this error will occur.

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