I am working on a script to automatically open a file from a website. I have gotten to the part where I receive a prompt from IE to either open or save the document and I would like to open the document. Following is the code I'm using to get to the prompt:

ie.document.All.Item
Call ie.document.parentwindow.execscript("exportQCReport('xls')", "JavaScript")
Is there a way to choose Open in the IE11 prompt using coding? Any help would be appreciated.


Thanks,

Met