Modernize Studio
Language: English
Get a free proposal

Microsoft Excel

Excel shared by several people: how to avoid conflicts

File locked, copies called “final version 2”, changes lost? Here is how several people can work on the same Excel workbook without surprises.

By Modernize StudioUpdated 5 min read

In short

  • An Excel file in a network folder can be edited by one person at a time: everyone else opens it read-only or makes copies.
  • The old shared workbook feature is outdated: Microsoft advises against it because it has many limitations.
  • The route Microsoft recommends is co-authoring: the file on OneDrive or SharePoint, with AutoSave switched on.
  • VBA macros stay in the file but do not run in Excel for the web: using them needs the desktop app.
  • When the file becomes the centre of several people's work, it is time to turn it into an application with a database.

Why the file shows as locked

An Excel file saved in a network folder works like a sheet of paper on a desk: one person edits it at a time. Whoever opens it second is told the file is in use and can only read it, or work on a copy.

The trouble comes later: copies saved under different names, changes made to the wrong version, data to merge by hand. The more people use the file, the more time is lost.

In a network folder one person works at a time; with co-authoring everyone works on the same file.

The old “shared workbook”

For years Excel had a feature for sharing a file in a network folder. It still exists, but in subscription versions of Microsoft 365 its buttons have been removed from the Review tab. Microsoft explains that it has many limitations and highly recommends replacing it with co-authoring.

Microsoft suggests bringing its buttons back only to switch it off or to finish a session already under way. It is not something to build an office's work on.

Microsoft's solution: co-authoring

With co-authoring, several people work on the same file at the same time and see each other's changes within seconds. Three conditions are needed:

  1. The file on OneDrive or SharePoint

    The file must be saved on OneDrive, OneDrive for Business or SharePoint Online. Network folders and SharePoint sites installed on company servers do not support co-authoring.

  2. A modern format

    The file must be .xlsx, .xlsm or .xlsb. Old .xls files must first be saved in one of these formats.

  3. Up-to-date Excel and AutoSave

    You need Excel for Microsoft 365, Excel for the web or the smartphone and tablet apps. AutoSave, at the top left, must be on for everyone.

If someone opens the file in a version of Excel that does not support co-authoring, the file is locked for everyone else. According to Microsoft, this is the most common cause of the locked-file error even on OneDrive and SharePoint. Microsoft warns that with a work or school account, the installed version may not support it yet if whoever manages the computers has not rolled out the latest one: that is the first thing to check.

And files with macros?

A macro-enabled file (.xlsm) can also be co-authored. Excel for the web, however, does not run, create or edit VBA macros: it keeps them in the file, but to make them work the file has to be opened in the desktop app. People working in the browser can change the data, but the macros do not run.

Opening the file from OneDrive or SharePoint straight in the desktop app also avoids the block on macros in files downloaded from the internet. We cover it in the guide on blocked Excel macros.

The rules that prevent conflicts

  • Divide the work: Microsoft advises giving each person different areas or sheets, because if two people change the same cell the last change saved usually wins.
  • See who is there: the initials of the people working on the file appear at the top right, and cells selected by others are coloured.
  • Use the version history to go back to an earlier version, but only when nobody else is editing the file.
  • One copy only: no personal copies to merge afterwards; everyone works on the shared file.

Would you like an opinion on your case?

Send us the file: within 48 hours you receive a free written assessment, even if the answer is that a small fix is enough.

How our prices work

When Excel is no longer enough

Excel was made for calculations, not for many people working on the same data. The signs that the file has become a business application: sheets that refer to each other, macros only one person can fix, data copied by hand from one file to another, errors discovered at the end of the month.

In these cases the answer is a web application with a database: each person enters their own data through a form, permissions decide who sees what, and no change is lost. Here is how we turn Excel workbooks into web applications. For a first idea of costs and timing, see the guide From an Excel file with macros to a web app: costs and timing.

Frequently asked questions

Can co-authoring be used with the file in a network folder?

No: co-authoring needs the file to be on OneDrive, OneDrive for Business or SharePoint Online. In a network folder the file is edited by one person at a time.

What happens if two people change the same cell?

The last change saved, by hand or by AutoSave, usually wins. That is why Microsoft advises giving each person different areas or sheets.

Can macros be used with co-authoring?

Yes, in the desktop app: a .xlsm file can be co-authored. In Excel for the web the macros stay in the file but cannot be run or edited.

Can an earlier version of the file be recovered?

Yes: the version history opens from File › Info. Microsoft advises restoring a version only when nobody else is working on the file.

Is a Microsoft 365 subscription needed?

Co-authoring in the desktop app needs Excel for Microsoft 365. With Excel for the web people can also work together in the browser, but without macros.

Sources

  1. Microsoft: collaborate on Excel workbooks at the same time with co-authoring
  2. Microsoft: what happened to shared workbooks in Excel
  3. Microsoft: work with VBA macros in Excel for the web

Official Microsoft pages.

Related guides

Related services

All guides

Contact

We work in writing: everything stays on record, so you can show it to your accountant or your IT person.

Send us your file

  1. Make a copy of the file; test data is fine.
  2. Attach it to your message. If you would like a non-disclosure agreement first, write to us without attaching the file.
  3. Within 48 hours you will receive the free written assessment and the price of a pilot module.

We work from Italy.

Describe your project in a few lines

A small request is fine too. If anything is missing, we will ask you.

Fields marked * are required.

For example: what the workbook is used for · how many people use it · Excel version, if known · does it read from or write to other files?

Attachment(optional)

Databases, Excel files, screenshots or a specification. For larger files, include a download link in your message. We only work on copies and delete them at the end of the project, with written confirmation.

Reply within one working day. Free proposal, no obligation.

Get a free proposal