You can do it easily if you have Microsoft Word installed on your computer. Try the following vbs code.
___
[tt]
ConvertRTF2TXT "C:\RichText.rtf", "C:\PoorText.txt"
Sub ConvertRTF2TXT(srcRTFfile, dstTXTfile)
Dim Word
Set Word = CreateObject("Word.Application"
Word.Documents.Open(srcRTFfile).SaveAs dstTXTfile, 2
Word.Quit
Set Word = Nothing
End Sub
[/tt]
yes the open save using Word worked a treat. I still have to test on Citrix where it is also used, but from previous experience, it "should" be fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.