SharePoint Document Issues

Fix Excel Cannot Save Messages in SharePoint Macro Workbooks

Emma BrownEmma Brown Oct 22, 2026 868 views

Question details

The user experiences repeated 'Cannot Save' errors and AutoSave automatically disabling when co-authoring macro-enabled workbooks in SharePoint.

How to Fix Excel 'Cannot Save' Messages in SharePoint Macro Workbooks
Product
Microsoft Excel and SharePoint
Device & OS
not provided
Scenario
Working on and co-authoring a macro-enabled workbook stored in a SharePoint document library with AutoSave turned on.
Observed behavior
Excel displays a 'Cannot Save' message, and AutoSave automatically toggles off approximately every five minutes during co-authoring.
Before you start

Verify your internet connection stability and manually download a local backup copy of your macro-enabled workbook from SharePoint before modifying add-ins or save preferences.

Solution 1Recommended

Set the Default Save Format to Macro-Enabled Workbook

Ensuring Excel is configured to default to the correct macro-enabled format can prevent underlying file format save conflicts.

When working extensively with macros, Excel might attempt to validate the file against default standard workbook (.xlsx) settings. Forcing the default format to .xlsm stabilizes the AutoSave process.

1
Open Excel Options

Launch Microsoft Excel, click on the 'File' tab in the top-left corner, and select 'Options' located at the bottom of the left sidebar.

2
Navigate to Save Settings

In the Excel Options dialog box, click on the 'Save' category in the left-hand menu pane.

3
Change Default File Format

Under the 'Save workbooks' section, locate the 'Save files in this format' drop-down menu and change it to 'Excel Macro-Enabled Workbook (*.xlsm)'.

4
Save and Test

Click 'OK' to apply the changes, restart Excel, and open your SharePoint workbook to see if AutoSave remains enabled.

Set the Default Save Format to Macro-Enabled Workbook
Formatting Complete: Setting this default ensures Excel will immediately recognize and permit macro executions during auto-saving events.
Free Microsoft Office alternative

Try WPS Office for Seamless Macro Compatibility

If you continuously experience AutoSave conflicts and sync issues with Microsoft Excel, consider switching to WPS Office. It provides a lightweight, highly compatible alternative that handles macro-enabled workbooks effortlessly.

  1. 1. Download and Install: Download WPS Office for free from the official website and run the quick installer.
  2. 2. Open Your Macro Workbook: Launch WPS Spreadsheet and open your .xlsm file directly from your local drive or cloud storage.
  3. 3. Enable Macros and Edit: Follow the prompt to enable macros upon opening, and enjoy uninterrupted editing and saving.
Fully compatible with Microsoft Excel file formats, including .xlsx, .xls, and .xlsm.Free, lightweight, and fast alternative to heavy Office installations.Familiar user interface requiring zero learning curve for Excel users.Excellent stability when executing complex VBA macros without unexpected save interruptions.
microsoft office alternative - wps office

Frequently Asked Questions

Why does AutoSave keep turning off in my macro-enabled workbook?

AutoSave automatically disables if the workbook contains unsupported features, such as specific VBA macros that modify the workbook environment during saving, or if there is an active third-party COM add-in interfering with the background save process.

Do macros prevent co-authoring in SharePoint?

No, you can co-author macro-enabled workbooks (.xlsm) in SharePoint. However, if a macro is actively running and modifying the file contents for one user, it can temporarily pause co-authoring capabilities or cause sync delays for others.

How do I know if the save error is specific to just one workbook?

You can test this by creating a brand-new macro-enabled workbook (.xlsm), uploading it to the same SharePoint library, and leaving it open for over five minutes. If AutoSave remains active without the 'Cannot Save' error, the issue is isolated to your original workbook.

Can I use the OneDrive sync client with .xlsm files?

Yes, but sync conflicts occasionally arise due to file-locking mechanisms when macros run. If you encounter frequent 'Cannot Save' errors, opening the file directly from the SharePoint web interface into your desktop app is the best workaround.