AnsweredAssumed Answered

Runtime 91

Question asked by Kyle Thomson on Jul 9, 2020
Latest reply on Jul 13, 2020 by Kyle Thomson

Hi all,

 

     I am getting a runtime 91 error on my code but I have all variables defined. Any idea whats wrong with this section of code?

 

Dim CWAddinCallBack As CosmosWorksLib.CWAddinCallBack
Set CWAddinCallBack = swApp.GetAddInObject("CosmosWorks.CosmosWorks")
Dim COSMOSWORKS As CosmosWorksLib.COSMOSWORKS
Set COSMOSWORKS = CWAddinCallBack.COSMOSWORKS

Outcomes