Thanks it worked.
Yes I did see Tamar's response to you. I am documenting it so that user know about it.
One last dumb question. I assume that object is released when the close the word file. If not do I have to release it and how?
>Do you mean you want to bring the Word to Foreground? Then this technique (by Vladimir Maximov) works:
>
>#DEFINE wdWindowStateMinimize 2
> #DEFINE wdWindowStateMaximize 1
>
> loWord.WindowState = wdWindowStateMaximize
>
>But please see Tamar's response to me. Even if you open Word document in read-only mode you still can Save As a different document.
>
>>Thanks it works. My last question is how do I switch to the word file?
>>