Converting Files to Word 2007 Format

by Allen Wyatt
(last updated April 13, 2016)

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
        End With
        sFile = Dir
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:

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

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

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. ...


Working With OLE Graphics

An explanation of the way Word imports graphics.

Discover More

Randomly Resetting Numbering

Have you ever been frustrated by the automatic numbering feature in Word? You are not alone. Fortunately, there are a few ...

Discover More

Understanding File System Formats

When you format a disk drive, you have the option to specify what file system should be used on that drive. There are three ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

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

Read-Only Documents without a Password

Want to protect your document so it cannot be changed? There are a couple of ways you can do it, and not all of them involve ...

Discover More

Recovering Password-Protected Documents

Got a locked document you just need to get into? It may be quite easy (or next to impossible) using the ideas in this tip.

Discover More

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

View most recent newsletter.


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. Maximum image size is 6Mpixels. 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 seven minus 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)

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

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.