Compile error - VBA

Hello,

I am trying to run the automation examples provided with Maxsurf in Excel, but whenever I try to run anything I get the following error: "Compile error: User-defined type not defined" in the very first lines where Modeler (or any other part of the suite) application is connected to Excel. (Dim msApp as New Maxsurf Modeler.Application).  I have added the Bentley libraries to the Tools>References window in VBA and enabled macros in Excel.

Any ideas why this is happening?

Cheers,

Alex

Parents Reply Children
No Data