I'm running a macro from Excel 2003. At the end of the macro, I want to call a windows scripting host function that I wrote, xxx.js. But when I try to run it with Shell, like this:

retVal = Shell("c:\path\xx.js", vbNormalFocus)

I get Invalid Procedure Call or Argument.

The path is correct. What's the problem? Any help is GREATLY appreciated.

RON