Converting Files to Word 2007 Format

by Allen Wyatt
(last updated April 13, 2016)

2

Diane recently began work at a law firm. The previous secretary saved most, but not all, of her work in Word 2003 format. The firm is using Word 2007, so there is a lot saved in that format, too. Diane wonders if there is some global way to uniformly change the existing Word 2003 documents to Word 2007 format.

Any time you need to process a large number of files, you are going to need a macro. You could, if you desire, create a simple macro to grab all the DOC files in a directory and save them as DOCX files. Here is an example:

Sub ConvFiles()
    Dim sPath As String
    Dim sFile As String
    Dim sTarget As String

    sPath = "C:\MyDir\"
    sFile = Dir(sPath & "*.doc")
    While sFile > ""
        sTarget = Replace(sFile, "doc", "docx")
        With Documents.Open(sPath & sFile)
            .SaveAs FileName:=sPath & sTarget, FileFormat:=0
            .Close
        End With
        sFile = Dir
    Wend
End Sub

You will need to change the path to the folder in which your original DOC files are stored (just change the assignment made for the sPath variable). When you run the macro, it opens each DOC file in the folder and then saves out a DOCX version of the document. There isn't much in the way of error checking in the macro, and it may not produce satisfactory results on documents that contain multiple versions. In addition, any files that are password protected will not be converted.

Microsoft has also prepared a method to convert DOC files to DOCX versions, using what they call the Office Migration Planning Manager (OMPM). This tool is actually documented in several locations on Microsoft sites:

http://www.microsoft.com/en-us/download/details.aspx?id=21888#filelist
http://technet.microsoft.com/en-us/library/cc179019%28TechNet.10%29.aspx
http://blogs.msdn.com/b/ericwhite/archive/2008/09/19/bulk-convert-doc-to-docx.aspx

The following blog post may help in explaining how to use the OMPM:

http://www.labnol.org/software/bulk-convert-office-documents-in-2007-format/4291/

If you want to go with a non-Microsoft approach, I would suggest trying the conversion utility available from Graham Mayor:

http://www.gmayor.com/Works_Batch_Converter.htm

From the page address, you might assume that the converter is designed to work with Microsoft Works documents, and you would be right. But it does more than that, also converting any older DOC files. The only drawback is that it must be used in Word 2010; it won't work in Word 2007.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (5922) applies to Microsoft Word 2007 and 2010.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Inserting the Author Name

Did you know that Word tries to keep track of who the author of a document is? This information can be easily added to the ...

Discover More

Big File Memory Blues

Excel places limits on how much memory your workbooks can use. Despite these limits, it is possible to create a workbook that ...

Discover More

Calculating Business Days

There are calendar days and then there are business days. Excel provides two functions (NETWORKDAYS and NETWORKDAYS.INTL) ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Using Tags with Document Files

Tags are a way for you to store keywords or metadata with your document files. They can be helpful when you are trying to ...

Discover More

Finding Documents Containing Multiple Occurrences of a Word

Searching for documents that contain a particular word is rather straightforward. The task becomes a bit trickier when you ...

Discover More

Creating Two Versions of the Same Document

You may often need to create two versions of the same document, one with everything and the other with a subset of what is ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four less than 8?

2015-12-16 17:41:11

Rohn MVP

Note: the last paragraph is no longer correct. Graham has updated the tool to handle newer file formats. Up to Word 2013 for sure.

[snip]
Batch converter for Word 97-2003 DOC, RTF and Works WPS format to Word 2007/2013 DOCX/M formats
[/snip]


2015-03-30 11:22:31

Frances

Does the Macro and the links for Microsoft Migration Tool listed above for 2007 work for going from 2003 files to 2013.

I have so many files on my computer I think I need the easiest way to update all to 2013/ 365, but is it better to leave the old and do one by one?


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.