Solved
Forum Discussion
Here's code written in Python that works,
You are trying to run your code in JavaScript, but your coding is actually in Python.
If you look at the code examples in Excel.Open Method, Python uses square brackets, whereas JavaScript uses round brackets. This was a bug a while back, I wonder if it has been reintroduced!?