Robert, I neglected to mention that I am using Word 2000. Is it an XP issue perhaps? Are all of your users using Office XP? I can't test that here at work, but I can later at home.
Tracy
>>Your code works "as is" with and without the messagebox on W2K SP2, VFP7 SP1, IE6 as long as the file exists.
>
>Thank you Tracy for testing. Since I found that behaviour on three machines, I wonder what might cause it...
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"