Automate the saving of rtf files to doc files

A

Amy

Hello everyone:

There are hundreds of Word rtf files saved on a shared drive that are taking
up an enormous amount of disk space. These files are just copies of letters
containing only text (from mail merges) that have been sent out to clients.

If I save an rtf file as a doc file, the size of the file decreases
considerably (from serveral thousand kb to several hundred kb). To conserve
disk space, I would like to save all these files as doc files. If I were to
do this manually, I would have to open each rtf file, save it as a doc file
and then delete the rtf file. Assuming that all these files are in one
folder, is there an easier way to do this? The name of the new file would be
the same as the old file except for the extension. For example Filename.rtf
to Filename.doc. Just renaming the filename does not appear to decrease the
file size.

Thank you for any help.

Amy
 
D

Doug Robbins - Word MVP

See the article "Find & ReplaceAll on a batch of documents in the same
folder" at:

http://www.word.mvps.org/FAQs/MacrosVBA/BatchFR.htm

That will show you how to access all of the files in a folder. In your
case, you can delete all the code for the Find and Replace stuff and just
save the open file as a .doc file.


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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