Batch Convert Word 97-2004 DOC to DOCX on Mac
Question details
The user needs to convert a large volume of legacy Word 97-2004 (.doc) files into the modern .docx format on a Mac without having to open and save each file manually.

- Product
- Microsoft Word
- Device & OS
- Mac
- Scenario
- Upgrading hundreds of legacy document files to a modern, XML-based format via automated batch processing.
- Observed behavior
- Manual conversion of each file is too time-consuming, necessitating an automated VBA macro or script to process the entire folder.
Ensure you create a backup of your original .doc files and set up a dedicated 'Converted' subfolder before running any batch macro scripts.
Use a VBA Macro for Automated Conversion
Execute a custom VBA macro in Word for Mac to automatically loop through a specific folder, converting all legacy DOC files into DOCX format.
Using Visual Basic for Applications (VBA) is one of the most reliable methods to process hundreds of files in Microsoft Word natively.
The script automates the repetitive task of opening a file and executing the 'Save As' command, directing the new files to a clean subfolder without overwriting the originals.
Create a new folder named 'Converted' inside the directory containing your legacy .doc files. Ensure no other file types are in the source folder.
Launch Microsoft Word on your Mac. Press Option + F11 to open the VBA Editor interface.
Click Insert > Module in the top menu and paste your batch conversion VBA script into the blank code window.
Locate the folder path variables in the pasted script and replace them with the exact directory path of your Mac's source folder.
Press F5 or click the Run button to execute the macro. Wait for the process to complete, then check your 'Converted' folder for the new .docx files.

Utilize macOS Automator for Batch Document Processing
macOS Automator workflows can be configured to process document conversions for users who prefer a visual interface over writing code.
Handle Legacy Word Documents Effortlessly with WPS Office
Struggling with complex VBA macros to update your old documents? WPS Office provides excellent native support for Word 97-2004 files on Mac. It is a free, lightweight, and user-friendly alternative that lets you open, edit, and save legacy formats seamlessly.
- 1. Install WPS Office: Download and install the free WPS Office suite for your Mac.
- 2. Open legacy files natively: Launch WPS Writer and open your legacy .doc files directly without experiencing formatting loss.
- 3. Save as modern formats: Go to Menu > Save As to effortlessly save the document in the modern .docx format whenever needed.

Frequently Asked Questions
Why should I convert Word 97-2004 DOC files to DOCX?
The older .doc format is a proprietary binary format that is becoming increasingly outdated. Upgrading to the XML-based .docx format significantly reduces file size, minimizes the risk of file corruption, and ensures maximum compatibility with modern word processors and mobile devices.
Can I batch convert DOC to DOCX without using a VBA macro?
Yes, you can use dedicated third-party batch conversion software or macOS Automator workflows. However, native VBA macros are usually the most reliable way to preserve document formatting since the conversion is handled directly by the Word rendering engine.
Will converting DOC to DOCX alter my document formatting?
In most cases, formatting is preserved perfectly during the transition. However, if your original document uses heavily deprecated legacy features from Word 97-2004, you might need to make minor manual layout adjustments after the conversion.
Does VBA still work on modern Apple Silicon Macs?
Yes, Microsoft Word for Mac supports VBA execution on both Intel and Apple Silicon (M1/M2/M3) architectures. Ensure your Office suite is updated to the latest version to avoid performance issues during batch processing.




