Heres my task: Open an e-mail attachment that is a word doc from a web -browser based exchange server (eg at run a macro that saves the doc locally, close the IE window and document, and open the same document in WORD.
I open the document so that I can run a word macro that "saves" the file to a specific location based on information in the document (lotsa information). I want to close it after the macro runs (which I do with SendKeys "%FX") and then open it with Word, (not IE's version of "Word"). If I attempt to use "Documents.Open FileName:="blabla.doc".... The IE version of "Word" is back open, not the WORD version of the editor, If I use the Shell function to open the document, A totally new instance (I will always have other word docs open) of word opens with the document and I get an error that something has the document open when I attempt to close the document.
Thanks
Mike
I open the document so that I can run a word macro that "saves" the file to a specific location based on information in the document (lotsa information). I want to close it after the macro runs (which I do with SendKeys "%FX") and then open it with Word, (not IE's version of "Word"). If I attempt to use "Documents.Open FileName:="blabla.doc".... The IE version of "Word" is back open, not the WORD version of the editor, If I use the Shell function to open the document, A totally new instance (I will always have other word docs open) of word opens with the document and I get an error that something has the document open when I attempt to close the document.
Thanks
Mike