Compile Error: Can’t find project or library
Symptoms:
When using the VBA Code or Macros in Microsoft Access or Excel, the following error is received “Compile Error: Can’t find project or library”
Looking at the error message, the most likely cause is that the application has lost the reference to an object or type library, therefore, cannot upload.
The problem may be resolved as follows:
An alternative to removing the reference is to restore the referenced file to the path specified in the References dialog box. If the referenced file is in a new location, clear the “Missing:” reference and create a new reference to the file in its new location. Another possibility is that the required DLLs are not registered properly. See the following for that:
Related Articles:
https://support.quest.com/erwin-data-modeler/kb/4284841/compile-error-when-running-the-erwin-api