Is possible from Excel VBA to call CreateObject("SwDocumentMgr.SwDMClassFactory")? It fails with "Cannot create ActiveX component".

Hello guys.

As per title, from Excel VBA I am unable to create an instance of the DocumentManager but from SW VBA it works with no issues. In Excel I have already referenced the library and indeed VBA Environment let me start the execution but it fails when calling the CreateObject method.

I am wondering if I am missing some libraries or if for some reasons is not possible to create an instance from Excel VBA. Any suggestion?

Thank you.

Paolo

SolidworksApi/macros