In the meantime I solved the problem. I'm posting the answer, somebody might be interested...
(1) The Excel macro must be called like this:
XLHandle.Run "MyMacro", 15
(where 15 is an example argument) instead of
XLHandle.Run("MyMacro(15)"
While the latter also works, this is responsible for...
Dear tek-tips people,
maybe you can help me with the following VBScript problem: I am calling an Excel VBA macro from a VBScript, the problem is: The macro is run twice - though I only call it once...!
Here are the details: I am running a batch file which calls a VBScript together with a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.