VBA export documents to Plain text

M

moonhkt

Hi All

Office 2003. What is the good way to export all words into Plain text
format ?

All the graph , object , Header and footer not include in text file.


moonhkt
 
S

Stefan Blom

Saving in plain text format will do the trick. For example:

Sub SaveInPlainText()
ActiveDocument.SaveAs _
FileName:="my file name here", _
FileFormat:=wdFormatText
End Sub

-- 
Stefan Blom
Microsoft Word MVP




---------------------------------------------
"moonhkt" wrote in message

Hi All

Office 2003. What is the good way to export all words into Plain text
format ?

All the graph , object , Header and footer not include in text file.


moonhkt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top