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


Entering a Degree Sign

One of the more common symbols that people need to use in their writing is the degree symbol, typically used after a numeric ...

Discover More

Can't Place Merge Field in Header of a Catalog Merge Document

Word can perform several different types of mail merge operations, and the type you choose can affect how you are able to use ...

Discover More

Displaying the File Tab of the Ribbon by Default

When you first start Word, it displays the Home tab of the ribbon. If you want to display a different ribbon tab by default, ...

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)

Embedding TrueType Fonts

If you need to make sure that the fonts in your document can be used by another person or on a different system, you'll need ...

Discover More

Deleting the Open Document File

Want to delete the document you are currently viewing? Word doesn't provide a way to do it, but you can use the macro in this ...

Discover More

Changing the Default Document Format

If you don't want Word to store documents using its default document format, it is an easy task to specify a different ...

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 7 - 0?

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.

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

2015-03-30 11:22:31


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

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.