File Format & Compatibility

Fix Excel Save As When Converting XLSM to XLSX

Huma Ashraf ChHuma Ashraf Ch Dec 2, 2026 869 views

Question details

The user needs to save an XLSM workbook as an XLSX file without manually removing its VBA code.

Fix Excel Save As When Converting XLSM to XLSX
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.
Before you start

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.

Solution 1Recommended

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.

1
Start Excel in Safe Mode

Close Excel, press Windows+R, enter excel /safe, and select OK.

2
Try saving an XLSX copy

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.

3
Disable add-ins if Safe Mode works

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.

4
Identify the conflicting add-in

Return to File > Options > Add-ins and re-enable add-ins one at a time, testing Save As after each change.

Test Excel in Safe Mode and disable add-ins
Macros are removed from the XLSX copy: Saving as XLSX does not preserve VBA code. The original XLSM remains macro-enabled if you save the XLSX under a separate name.
Free Microsoft Office alternative

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.

Open and edit Excel-compatible spreadsheets in WPS SpreadsheetsCompatible with Microsoft Excel formats, including XLSX and XLSMUse a familiar interface for everyday spreadsheet workMove between Microsoft Office and WPS Office with common file formats
microsoft office alternative - wps office

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.