>I need to modify document before send it to fax.
>
>oWord = createobject("word.application")
>oWord.visible = .t.
>oWord.Documents.Open("MyDocumentToModify")
>**************************
>&& I need to wait here
>**************************
>release oWord
>*********************************
>do sendtofax with "MyDocumentToModify"
>*********************************
You may simply use SLEEP API function or use Event Handler.
If it's not broken, fix it until it is.
My Blog