File Format & Compatibility

How to Convert Old Office Files to New Formats Without Duplicate Copies

Elise WilliamsElise Williams Oct 26, 2026 869 views

Question details

The user wants to convert thousands of legacy Office documents into modern formats in network folders or OneDrive without keeping the original files.

How to Convert Old Office Files to New Formats Without Creating Duplicates
Product
Microsoft Office
Device & OS
Windows Server 2016
Scenario
Bulk upgrading old file formats (e.g., .doc to .docx) stored on a network drive or SharePoint.
Observed behavior
Standard conversion or 'Save As' actions create a second file in the modern format, leaving behind thousands of duplicate legacy files that require manual cleanup.
Before you start

Before attempting any batch conversion or automated deletion scripts, test the process on a small, isolated sample folder to ensure it works correctly without unintended data loss.

Solution 1Recommended

Use a VBA Script for Batch Conversion and Cleanup

Using a custom VBA macro allows you to automate the 'Save As' process for thousands of files and immediately delete the original legacy file once the conversion is complete.

Microsoft Office handles format conversion by executing a 'Save As' command, which inherently leaves the original file intact as a safety measure. To override this in bulk, a script is required to perform the conversion and issue a deletion command for the old file.

1
Open the VBA Editor

Launch Microsoft Word and press Alt + F11 on your keyboard to open the Visual Basic for Applications (VBA) editor.

2
Insert a New Module

In the top menu, click 'Insert' and select 'Module'. Paste a batch conversion script that utilizes the SaveAs2 method for the new format and the 'Kill' statement to delete the original .doc file.

3
Run the Macro

Press F5 or click the 'Run' button in the toolbar. When prompted by your script, select the target network folder containing the files you wish to convert.

Use a VBA Script for Batch Conversion and Cleanup
Server Backups Required: Ensure you have a complete and recent backup of your Windows Server or network drive before running any script that utilizes the Kill command to permanently delete files.
Free Microsoft Office alternative

Manage All File Formats Seamlessly with WPS Office

Tired of dealing with complex VBA scripts and duplicate files just to maintain format compatibility? WPS Office provides a lightweight, highly compatible alternative that opens, edits, and saves both legacy and modern Office formats effortlessly.

Fully compatible with Microsoft Office formats including DOC, DOCX, XLS, XLSX, and PPTX.Lightweight architecture that runs smoothly on standard PCs and Windows Server environments.Familiar user interface ensuring a zero-learning-curve migration from Microsoft Office.Built-in PDF conversion and advanced file management tools.
microsoft office alternative - wps office

Frequently Asked Questions

Why does converting old Office files always create a duplicate?

By default, Office applications use a 'Save As' operation when upgrading a file from a legacy format (like .doc) to a modern format (.docx). This is an intentional safety feature designed to preserve the original file in case the new format causes data shifts or compatibility issues with older systems.

Can I batch convert DOC to DOCX natively without scripts?

Microsoft Office does not include a native user-interface tool for batch converting files and automatically deleting the originals. You must rely on custom VBA macros, PowerShell scripts, or third-party batch processing software to achieve this.

How do I safely delete the old files if I convert them manually?

If you convert the files and end up with duplicates, open Windows File Explorer, navigate to the affected network folder, and sort the view by 'Type'. You can then select all files labeled as 'Microsoft Word 97-2003 Document' (.doc) and delete them in bulk, leaving only the newly created .docx files.

Does OneDrive configuration affect how files are saved?

Yes. OneDrive has a setting that allows Office applications to handle the synchronization of files you open. Disabling this setting forces OneDrive to handle the sync purely at the file-system level, which can change how overwrite and save operations behave when modifying legacy formats.