Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: mohannad on February 15, 2022, 10:03:01 pm
-
I'm getting this error when i'm trying to create Excel COM Object for a script written javascript :
(https://i.ibb.co/BTxMVjS/err.png)
but it's working fine within a jscript, any ideas why?
-
The have another syntax to do that.
Ther are a few posts on this forum about that.
Geert
-
The have another syntax to do that.
Ther are a few posts on this forum about that.
Geert
Hello Geert,
I know that Javascript uses another API (which is the one in the snapshot). Also, I'm sure that this is the correct syntax since using other PorgId(s) works fine.
For instance, If I replace the excel progId with "WScript.shell" it works just fine. So, I thought this might be related to this particular application.
Thanks