Fix Excel Cannot Save Messages in SharePoint Macro Workbooks
Question details
The user experiences repeated 'Cannot Save' errors and AutoSave automatically disabling when co-authoring macro-enabled workbooks in SharePoint.

- 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.
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.
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.
Launch Microsoft Excel, click on the 'File' tab in the top-left corner, and select 'Options' located at the bottom of the left sidebar.
In the Excel Options dialog box, click on the 'Save' category in the left-hand menu pane.
Under the 'Save workbooks' section, locate the 'Save files in this format' drop-down menu and change it to 'Excel Macro-Enabled Workbook (*.xlsm)'.
Click 'OK' to apply the changes, restart Excel, and open your SharePoint workbook to see if AutoSave remains enabled.

Disable Incompatible Excel and COM Add-ins
Third-party add-ins are a common cause of AutoSave interruptions and save errors in SharePoint co-authoring environments.
Open the File Directly from SharePoint Online
Bypassing the local OneDrive sync folder ensures that you are interacting directly with the SharePoint cloud server, reducing sync collision errors.
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. Download and Install: Download WPS Office for free from the official website and run the quick installer.
- 2. Open Your Macro Workbook: Launch WPS Spreadsheet and open your .xlsm file directly from your local drive or cloud storage.
- 3. Enable Macros and Edit: Follow the prompt to enable macros upon opening, and enjoy uninterrupted editing and saving.

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.




