Follow

Error when run Surfer script "ActiveX Automation: no object currently active"

This article explains what it means when you get an ActiveX Automation error "no object currently active", and how you can fix it.

 

This error means that the script calls a currently active instance of Surfer and it can’t find one. For example, the script begins with:

Set SurferApp = GetObject(, "Surfer.Application")

 

The “GetObject” command calls a currently open instance of Surfer. If there is no Surfer window open, then the error is generated. You can either open Surfer first and then run the script, or you can change the script to create a new instance of Surfer instead of getting an existing instance:

Set SurferApp = CreateObject("Surfer.Application")

 

Updated February 15, 2017

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.