Whoops. Typo. Thanks, Cetin..you are correct Documents not Document.
>>
>>Try this (might need some small changes) (for Word97)
>>
>>oWord=CREATEOBJECT("Word.Application")
>>oWord.Document.Open("Filename",,.T.)
>>
>>The third parameter is ReadOnly. Now VB help shows it as a variant so .T. may not work....
>>
>>
>AFAIK .t. and 1 works :) Just I think it would be "oWord.Documents.Open" not sure.
>Cetin
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05