When running an API get the following error:
Can't find project or library.
To overcome that error, in the VBA window, go to Run - Reset. Then go to Tools - References.
Check for the selection if there is an entry for erwin Data Modeler Script Client API Type Library as follows:
It is possible that you may see another similar name with 'Missing...' in it. Uncheck that box and look for the name as mentioned above (erwin Data Modeler Script Client API Type Library). If it is not found then most likely the two required DLLs (EAL.DLL and ERXML.DLL) are not registered.
Register the two DLLs and you should then see the entry for the Library as mentioned above.
Select that check box and rerun the VBA again. It should now be successful.