Convert a Word DOCM File to DOCX in WPS Writer Without Losing SharePoint History
Question details
The user needs to convert a Word document saved as a .docm file to the .docx format while preserving the SharePoint version history associated with the original file.

- Product
- WPS Office Writer
- Device & OS
- not provided
- Scenario
- A user has a Word document saved as a .docm file in SharePoint and needs a .docx version while keeping the existing SharePoint version history.
- Observed behavior
- The converted .docx removes macros and macro-related content; SharePoint version history should remain intact when the original file is replaced rather than deleted.
Open the .docm file in WPS Writer and check whether it contains macros or macro-dependent content. Download a copy from SharePoint so the original file stays available until the replacement and version history are confirmed.
Convert the .docm file to .docx in WPS Writer and replace the SharePoint file as a new version
Use this method when the .docm file is macro-free or when you accept that macro-related content will be removed, and you want to keep the file in the same SharePoint library with its version history.
Saving a .docm file as .docx creates a macro-free Word document. SharePoint associates version history with the file in the document library, so replacing the original file with the new .docx as a new version keeps the history.
In the SharePoint document library, select the .docm file, click the three-dot menu, and choose Download to save a copy to your computer.
Right-click the downloaded .docm file and choose Open with WPS Writer, or open WPS Writer and use Menu > Open to browse to the file.
Click the Menu button in the top-left corner, choose Save As > Other Formats, set the file type to Word Document (*.docx), choose a save location, and click Save.
In the SharePoint document library, click Upload > Files, select the new .docx file with the same name as the original, and choose Replace or Add as a new version to existing files when prompted.
Open the file in SharePoint, click the three-dot menu, choose Version history, and verify that previous versions are still listed. Only then delete or keep the original .docm as needed.
Check for macros before deciding whether to keep the original DOCM
Use this method before converting when you need to know whether the document depends on macros or whether a macro-free .docx is sufficient.
Convert a Word DOCM to DOCX in WPS Writer While Keeping SharePoint Version History
Use WPS Writer to open the macro-enabled Word file, save it as a standard .docx file, and upload it back to the same SharePoint document library as a new version. This keeps the document in a compatible Microsoft Word format and preserves existing SharePoint version history when you replace the original file.
- 1. Open the DOCM file in WPS Writer: Launch WPS Office Writer, click Menu > Open, and select the downloaded .docm file.
- 2. Save As Word Document .docx: Click Menu > Save As > Other Formats, choose Word Document (*.docx), and save the file to your computer.
- 3. Upload to SharePoint: In the SharePoint library, click Upload > Files, choose the .docx file, and select Replace or Add as a new version to existing files.
- 4. Verify version history: Open the file’s SharePoint version history to confirm the previous .docm versions remain listed.

Frequently Asked Questions
Will saving a .docm file as .docx remove macros?
Yes. The .docx format does not support VBA macros, so macros and macro-dependent content such as macro buttons or form controls will be removed.
How do I replace the original .docm with the new .docx in SharePoint without losing version history?
In the SharePoint document library, upload the .docx with the same file name, choose Replace or Add as a new version to existing files, and then open Version history to confirm previous versions are still listed.
Do I have to delete the original .docm file after conversion?
No. Verify the converted .docx and its SharePoint version history first. You can keep the original .docm or delete it after confirming the replacement is correct.
Can WPS Writer open and save .docm files?
Yes. WPS Writer can open .docm files and save them as .docx using Menu > Save As > Other Formats. Macro-enabled features are not preserved in the .docx format.




