|
-
August 13th, 2001, 10:02 AM
#1
Convert Word Documents to RTF
Hello,
Could anybody please provide me a way to convert Word Documents to RTF programmatically without opening the document?
-
August 13th, 2001, 11:40 AM
#2
Re: Convert Word Documents to RTF
'Try this ( of course Word lib must be added)
Sub ConvertWordDoc()
Static WordObj As Word.Application
Set WordObj = CreateObject("Word.Application")
WordObj.Documents.Open ("c:\my documents\test.doc")
'Disable viewing the Word session
'and its document
WordObj.Visible = False
WordObj.ActiveDocument.SaveAs "c:\my documents\test.rtf", wdFormatRTF
WordObj.Quit savechanges:=False
Set WordObj = Nothing
End Sub
Iouri Boutchkine
[email protected]
-
August 13th, 2001, 04:07 PM
#3
Re: Convert Word Documents to RTF
-
March 26th, 2002, 01:42 PM
#4
Re: Convert Word Documents to RTF
Does anyone know how to use the word object model in embedded VB. I need a program to convert pocket word docs to text files. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|