Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Automate the saving of rtf files to doc files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amy - 14 Sep 2007 02:28 GMT
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
Doug Robbins - Word MVP - 14 Sep 2007 04:09 GMT
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.

Signature

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

> Hello everyone:
>
[quoted text clipped - 24 lines]
>
> Amy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.