Try
#DEFINE wdFormatRTF 6
loWord.ActiveDocument.SaveAs(cMyFileName, wdFormatRTF)
>Hi folks. Got a form with a luvely rtf ole control text area just gagging to be nicely filled up with rtf.
>
>My app generates an html doc which I can subsequently open in word via
>loWord = CREATEOBJECT("Word.Application") and so on. This works well.
>
>I'm trying to load this file to the rtf control and assume to do so, must first 'saveas' a file
>in wdFormatRTF - but, for the life of me, cannot do so. Is there a secret syntax to do so beyond:
>
>wdFormat = "wdFormatRTF"
>cMyFileName = "c:\foxtest\testfile.rtf"
>loWord.ActiveDocument.SaveAs(cMyFileName, wdFormat)
--sb--