Word 2000, Save As text

Word 2000, Save As text

Post by pluto » Sat, 30 Oct 2004 21:24:17


Hi,

name = ActiveDocument.FullName
ActiveDocument.SaveAs (ActiveDocument.FullName + ".copy")
ActiveDocument.SaveAs name + ".txt", wdFormatText
ActiveDocument.SaveAs (name)

First time everything is ok, but next execution of this
sequence leads to abnormal content of DOC file,
namely it is 'reduced' to text file.

How can I correcly save pure text content of DOC file ?

tia
pluton
 
 
 

1. Differences between Word 2000 doc saved as word 6.0 and Word 6.0 doc

2. Run code when Save/Save As is selected Word 2000

Hi

I would like to display a message box to the user on saving a document if a
certain string of words is present in the first column of a table in the
document. I have discovered this code,

Dim rw As Row
Dim celltext As String
Dim tbl As Table

For Each tbl In ActiveDocument.Tables

For Each rw In tbl.Rows
rw.Select
celltext = rw.Cells(1).Range.Words.First.Text

If celltext = "blah di blah" Then

msgBox = " This is a blah di blah document and needs to be Emailed to blah
di blah".

This looks as if its what I need, but how do I incorporate it with the
Save/Save as commands. Or perhaps its not quite what I need - advice please,

Thanks

3. Word 200/Windows 2000 hangs opening/saving to mapped drive on 2000 Server

4. Word 2000/Windows 2000 hangs opening/saving to mapped network drive-setup for local normal.dot

5. Word 2000 mail merge documents won't save Access 2000 data source

6. Win Word 2000 to Mac Word 2001 to Win Word 2000 -PROBLEM

7. Accessing files saved in word 95 to pull in word 2000?

8. Corrupt file opening a previously saved Word 2000 file in Word

9. Word 2000:Word Cannot complete the save due to a file permission e

10. MS 2000 Word I cannot open word saved and new documents w/o crashi

11. Word 2000 does not display images in a Word 2003 saved file

12. A saved word 97 in word 2000 the print preview looks OK, but when.

13. print margin changes when saving a word 2000 document in word 2003

14. I try to open old docs (Word 95-98) in Word 2000 saved by 2007 use