AnsweredAssumed Answered

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

Question asked by Paolo Magalini on Jan 20, 2021
Latest reply on Jan 21, 2021 by Paolo Magalini

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.