Fix Excel Save As When Converting XLSM to XLSX
Question details
The user needs to save an XLSM workbook as an XLSX file without manually removing its VBA code.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- The user is saving a macro-enabled workbook as a macro-free XLSX file after a Windows update.
- Observed behavior
- Excel no longer shows the usual macro-removal warning, and Save As appears not to work unless the VBA code is removed.
Check that you can save files to a local folder and that the workbook is not read-only or blocked. An XLSX file cannot retain VBA code, so keep the original XLSM if you need the macros later.
Test Excel in Safe Mode and disable add-ins
Use Safe Mode to check whether an add-in is interfering with the Save As command or warning.
Close Excel, press Windows+R, enter excel /safe, and select OK.
Open the XLSM workbook, select File > Save As, choose a local folder, and select Excel Workbook (*.xlsx) as the file type. If a warning appears, confirm that you want to save without macros.
Restart Excel normally and go to File > Options > Add-ins. Select COM Add-ins in the Manage box, choose Go, and clear the add-ins. Repeat with Excel Add-ins, then test Save As again.
Return to File > Options > Add-ins and re-enable add-ins one at a time, testing Save As after each change.

Repair Microsoft Office and test the workbook
Use Office repair if the issue persists in Safe Mode or occurs with more than one workbook.
Work with Excel-compatible spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Microsoft Office format compatibility for a smoother move between office suites. It does not repair Excel's Save As issue.

Frequently Asked Questions
Can an XLSX file contain VBA macros?
No. XLSX is a macro-free format. To retain VBA code, keep the workbook in the XLSM format.
How do I open Excel in Safe Mode?
Close Excel, press Windows+R, type excel /safe, and select OK. Then open the workbook and test File > Save As.
What if Excel saves correctly in Safe Mode?
An add-in may be interfering. Go to File > Options > Add-ins, use the Manage box to check COM Add-ins and Excel Add-ins, and disable them before testing again.
Will saving as XLSX remove macros from my original XLSM file?
If you save the XLSX as a separate file, the original XLSM remains unchanged. The new XLSX copy will not contain VBA code.
Where can I repair Office on Windows?
Open Settings > Apps, find Microsoft 365 or Office, and select Modify. Run Quick Repair first; if needed, return to the same options and run Online Repair.




