Forum Discussion
YMinaev
Staff
14 years agoHi,
What is in the 'fileName' variable? Also, what happens if you execute the two lines shown on the screenshot from an external JS file. You need to modify them firsts like this:
Replace <value> with the exact path to your file (the 'fileName' value).
What is in the 'fileName' variable? Also, what happens if you execute the two lines shown on the screenshot from an external JS file. You need to modify them firsts like this:
var Excel = new ActiveXObject("Excel.Application");
Excel.Workbooks.Open(<value>);
Replace <value> with the exact path to your file (the 'fileName' value).