Assuming you know all that and you are trying to get it to work on your computer ONLY and using Microsoft’s browser IE then it can be fixed.
What you are doing wrong is not giving the open command a valid path to your excel file.
YOU need an absolute reference to your excel file which would look sumpin like this
"C:\\amitdata.xls" -- If you use your system drive as indicated BUT better to use a non system drive.
Remember you are using a Microsoft system so adhere to their lashes.
Based on your original request the answer is no.
If you are willing to start over then yes...
If you are trying to do this without the help of a server then the answer is again NO.