''''Does anyone have any idea why this won't save as a text file?
Sub OpenWord()
Dim AccApp As Object
Dim test As String
Dim junk As String
input = "c:\crap.rtf"
output = "c:\junker.txt"
Set AccApp = CreateObject("Word.Application"
AccApp.Visible = True
AccApp.Documents.Open FileName:=input
AccApp.ActiveDocument.SaveAs FileName:=output, _
FileFormat:=wdFormatText, LockComments:=False, _ AddToRecentFiles:=False, ReadOnlyRecommended:=False, _ EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, _ SaveAsAOCELetter:=False
AccApp.Application.Quit
End Sub
Sub OpenWord()
Dim AccApp As Object
Dim test As String
Dim junk As String
input = "c:\crap.rtf"
output = "c:\junker.txt"
Set AccApp = CreateObject("Word.Application"
AccApp.Visible = True
AccApp.Documents.Open FileName:=input
AccApp.ActiveDocument.SaveAs FileName:=output, _
FileFormat:=wdFormatText, LockComments:=False, _ AddToRecentFiles:=False, ReadOnlyRecommended:=False, _ EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, _ SaveAsAOCELetter:=False
AccApp.Application.Quit
End Sub