Fix Excel Co-Authoring Upload Failures with Macros and Form Controls
Question details
Users experience upload failures when co-authoring a large Excel workbook in Teams, specifically after modifying VBA code or form controls.

- Product
- Microsoft Excel, Microsoft Teams
- Device & OS
- not provided
- Scenario
- Multiple users are simultaneously editing a shared Excel workbook stored in Teams Files.
- Observed behavior
- Upload failures and synchronization conflicts occur when changes are made to VBA code, check boxes, or combo boxes.
Ensure all users have saved their current progress locally to prevent data loss before troubleshooting synchronization conflicts. It is also recommended to create a backup copy of the workbook.
Avoid Editing VBA and Form Controls During Co-Authoring
Prevent synchronization conflicts by restricting edits to macros and form controls while multiple users are active.
Microsoft Excel's co-authoring feature has specific limitations when it comes to advanced workbook elements. Simultaneous editing of VBA projects, ActiveX controls, and certain Form controls is not fully supported and will trigger upload failures.
Look at the top right corner of the Excel window to see the avatars of other users currently editing the workbook.
Communicate with your team and ask other users to close the workbook temporarily if you need to modify VBA code, check boxes, or combo boxes.
Make your changes to the macros or form controls while you are the only user in the file, save the workbook, and then notify others they can resume editing.

Use Sheet Views to Prevent Filter Conflicts
Avoid upload failures caused by multiple users changing filters and sorting simultaneously.
Try WPS Office for Seamless Spreadsheet Management
If you frequently encounter synchronization issues and upload failures with complex Excel files, consider WPS Office. It is a free, lightweight, and highly compatible alternative that handles macros and large datasets efficiently.

Frequently Asked Questions
Why do macros cause upload failures in shared Excel workbooks?
Excel's co-authoring feature has limitations with VBA projects. When multiple users try to execute or edit macros simultaneously, the synchronization engine cannot reliably merge the code changes, resulting in an upload failure.
Can I use form controls like checkboxes while co-authoring?
You can interact with existing form controls, but adding, deleting, or modifying the properties of form controls (like combo boxes and checkboxes) while others are editing the file is not fully supported and often leads to sync errors.
How do I resolve a synchronization conflict in Excel?
When a conflict occurs, Excel usually prompts you to resolve it. To prevent data loss, save a copy of your file locally first, then accept the server's version in the prompt, and manually reapply your changes from the local backup.
Does WPS Office support files with VBA macros?
Yes, WPS Office provides robust support for VBA macros. You can open, edit, and run .xlsm files seamlessly, making it an excellent alternative for handling complex spreadsheets that require automation.




