File Sharing Problems

Co-author an Excel Macro-Enabled Workbook on Multiple PCs

Anum MushtaqAnum Mushtaq Dec 2, 2026 868 views

Question details

The user wants multiple people to edit an Excel workbook containing VBA macros at the same time.

Co-author an Excel Macro-Enabled Workbook on Multiple PCs
Product
Microsoft Excel for Microsoft 365
Device & OS
not provided
Scenario
Several users need to work with the same macro-enabled workbook from different PCs.
Observed behavior
The desired result is simultaneous workbook editing while accounting for VBA and co-authoring limitations.
Before you start

Confirm that the workbook is saved as an .xlsm file and that users can access the same OneDrive or SharePoint location. Check that desktop users have a version of Excel that supports co-authoring.

Solution 1Recommended

Share the workbook through OneDrive or SharePoint

Use Microsoft 365 co-authoring when users need to edit workbook data simultaneously.

Excel for the web can open and edit a macro-enabled workbook, but it cannot run VBA macros. Users who need to run macros should use a compatible desktop version of Excel.

Avoid changing VBA code while others are editing the workbook; macro and co-authoring behavior can vary by Excel version and workbook features.

1
Save the workbook to the cloud

In Excel, select File > Save As and save the .xlsm workbook to OneDrive or a SharePoint document library.

2
Grant editing access

Select Share, enter the users' names or email addresses, and give them permission to edit.

3
Open the shared file

Ask each user to open the same shared link in Excel for the web or a co-authoring-supported desktop version of Excel.

4
Check simultaneous edits

In desktop Excel, turn on AutoSave if available, then have users make test edits in separate cells and confirm that the changes appear for everyone.

Share the workbook through OneDrive or SharePoint
Test macros separately: Test the workbook's macros in desktop Excel before relying on them in a shared workflow. A macro may affect cells that other users are editing.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Microsoft Office formats, making it easy to move everyday spreadsheet work. Test macro-enabled files before migrating: WPS does not resolve Microsoft Excel co-authoring limitations, and VBA support may vary.

Open and edit compatible Excel spreadsheets in a familiar interface.Supports Microsoft Excel formats including .xlsx and .xlsm.Use a free, lightweight office suite for everyday spreadsheet tasks.Review macro-enabled workbooks before deciding which workflows to migrate.
microsoft office alternative - wps office

Frequently Asked Questions

Can multiple people edit an .xlsm workbook at once?

Yes, co-authoring may be available when the workbook is stored on OneDrive or SharePoint and users open it in supported versions of Excel. Test the workbook's features and macros with your users before relying on the setup.

Can I run VBA macros in Excel for the web?

No. Excel for the web can open and edit macro-enabled workbooks, but it cannot run VBA macros. Open the shared file in a compatible desktop version of Excel to run them.

What should I do if co-authoring is unavailable?

Check that the file is in OneDrive or SharePoint, that users have editing permission, and that their Excel versions support co-authoring. Unsupported workbook features can also interfere with co-authoring.

How can users enter data without editing the macro workbook together?

Collect records through Microsoft Forms, Power Apps, or a database, then use Excel's Data > Get Data options to connect the workbook to the shared source.