Sub topic 11
Features and Conditions That Limit Co-authoring
This chapter assumes you can save a workbook to OneDrive or SharePoint, share it, and have AutoSave turned on. It also assumes you have seen presence indicators when two people open the same file. Here you will learn what stops co-authoring from working, and how to tell which cause you are facing.
The working model
Co-authoring depends on a few conditions, and all of them must hold at once:
- The file is stored in OneDrive, OneDrive for Business, or SharePoint. A file on a local drive or a plain network share cannot be co-authored.
- The file is in a modern format, such as
.xlsx,.xlsm, or.xlsb. - Each person opens it in a version of Excel that supports co-authoring, or in Excel for the web.
- Nothing in the file or in the account settings forces Excel to lock the file for one person at a time.
When one condition fails, Excel does not always show an error. Often it opens the file in a way that looks normal. You may see "Locked for editing by another user," a read-only banner, or an AutoSave switch that is missing or gray. Learning to read those signs saves time.
Conditions about the file and its location
Storage location and format
The AutoSave switch appears in the title bar only when the file is in a supported cloud location and in a supported format. If the switch is missing, check these things first:
- The file is saved locally, for example under
C:\Users\...\Documents. Move it to OneDrive or SharePoint with File > Save a Copy. - The file is in the older
.xlsformat. Convert it with File > Save As and choose Excel Workbook (.xlsx). - The file is on a file server path such as
\\server\share. That is not a cloud location for co-authoring. - The file was opened from an email attachment or a download and is in Protected View. Select Enable Editing first.
Encryption and sensitivity labels
A file protected with a password (File > Info > Protect Workbook > Encrypt with Password) cannot be co-authored in the usual way. Password-encrypted files are opened by one person at a time. If you need access control, use sharing permissions instead of a file password.
Sensitivity labels are a different mechanism. Your organization sets them up, and they can apply encryption. Whether co-authoring works with a labeled file depends on how the label is configured and on the versions of Excel in use. If co-authoring fails only on labeled files, ask the administrator who manages labels.
Information Rights Management
Files protected with Information Rights Management (IRM) restrict who can open, print, or copy them. Treat IRM like encryption: co-authoring may be limited or blocked, depending on the policy. Remove the restriction if it is not required, or ask your administrator.
Features that limit co-authoring
Some workbook features cannot be used while several people edit, or they are limited to certain tools. The table shows common cases. Treat it as a guide, not a complete list.
| Feature | Typical effect on co-authoring |
|---|---|
| Legacy Shared Workbook mode | Conflicts with modern co-authoring. Turn it off. |
| Password-encrypted workbook | Opens for one person at a time. |
| Macros (VBA) in `.xlsm` | Co-authoring can work in desktop Excel, but Excel for the web does not run macros. |
| Excel tables with certain structural edits | Some structure changes can wait until others close the file, or can trigger a refresh prompt. |
| Merged cells across a heavily edited area | Raise the odds of edit collisions and failed merges. |
| External data connections and Power Query | A refresh can run on one person's machine and change data for everyone. |
| Workbook protection of structure | Blocks adding, moving, or deleting sheets for people without the password. |
| Forms controls and ActiveX controls | Not available in Excel for the web. |
Features that a web editor cannot use
Excel for the web covers most everyday work. It does not support everything. A person editing in a browser cannot run macros, edit some chart types, or use some add-ins. When a mixed group has both desktop and web users, build for the lowest common set. A feature that works for you may be read-only for someone else.
Features that work, but not for everyone at once
Some actions change the structure of the file. Examples are renaming a sheet, deleting a sheet, or changing data model relationships. Excel can apply these while others are present, but other people may see a prompt that asks them to refresh or reload. Do these actions when few people are in the file.
Checking co-authoring state with VBA
You can read the AutoSave property from a macro. This helps when you distribute a macro-enabled template and want to warn users before they edit.
Sub CheckBeforeEditing()
If ActiveWorkbook.ReadOnly Then
MsgBox "This workbook is read-only. Someone may have it locked, or you may have view-only access."
ElseIf ActiveWorkbook.AutoSaveOn Then
MsgBox "AutoSave is on. Co-authoring is active."
Else
MsgBox "AutoSave is off. Check the file location and format."
End If
End SubReadOnly is true when the file opened in read-only mode. It does not tell you the reason. A true value can mean a lock, a view-only link, or a read-only recommendation set on the file. Use the macro as a first signal and then check the banner at the top of the window.
Reading the signs
The same symptom can have several causes. This diagram shows one way to work through it.
Common messages and what they mean
- "Locked for editing by [name]." Another person has the file open in a way that blocks others. This often happens with a non-co-authoring version of Excel, or with an encrypted file.
- "This file is read-only." You may have a view-only link, or the file may be marked as final or read-only recommended.
- A yellow bar saying the file cannot be merged. Your changes conflict with the cloud copy. Excel offers to save a separate copy so you can compare and merge by hand.
- AutoSave switch is gray. The file type or location does not support it, or an admin policy disables it.
Account and organization limits
Some limits do not come from the workbook at all.
- Permissions. A person with a view-only link cannot edit, so they never appear as a co-author. Check the link type in the Share pane.
- Tenant policy. Administrators can block external sharing, restrict link types, or disable AutoSave. If you cannot invite someone outside your organization, a policy is likely the cause.
- Sign-in state. A person who is not signed in to Office, or who is signed in with a different account, may open the file as a guest or as read-only.
- Sync client conflicts. If someone works on a synced local copy while offline, their edits merge later. A long offline period raises the chance of a conflict.
- Number of editors. Real-time editing works well for small groups. Very large groups can slow the file down. Limits vary by service and plan, so check the current documentation if you expect many simultaneous editors.
A systematic way to diagnose
Work from the cheapest check to the most expensive.
- Look at the title bar. Is the AutoSave switch present and on?
- Look at the banner under the ribbon. Does it say read-only, locked, or Protected View?
- Check the file name and extension in File > Info.
- Check the path. Is it a OneDrive or SharePoint URL?
- Open the Share pane and confirm your permission and that of the other person.
- Open the file in Excel for the web. If it works there, the problem is in your desktop version or settings.
- Ask an administrator about policy only after the steps above.
Step 6 is useful because the web app is the reference case. If the web app co-authors the file correctly and the desktop does not, the cause is local.
Designing around the limits
You can often avoid the limits by planning the file.
- Keep the shared file free of passwords. Control access with permissions.
- Put macros in a separate personal file or add-in when most users edit on the web.
- Avoid merged cells in input areas. Use "Center Across Selection" for the same look.
- Keep structural changes to a single owner, and schedule them.
- Separate heavy external data refreshes into a file that one person maintains, and let the shared file read the results.
Summary
Co-authoring needs a cloud location, a modern format, a supported Excel version, and no feature that locks the file. When it fails, check location, format, encryption, and Shared Workbook mode first. Then check permissions and policy.
Exercise
A colleague says the AutoSave switch is missing in the title bar of a workbook. The file is named Budget.xlsx and sits in C:\Users\Sam\Documents. Name the most likely cause and one fix.
Show answer
The file is stored locally, not in OneDrive or SharePoint, so AutoSave and co-authoring are unavailable. Use File > Save a Copy to save it to OneDrive or SharePoint, then open that copy and turn AutoSave on.
Exercise
A team shares a workbook that has a password set through Encrypt with Password. Only one person at a time can edit it. What should they change, and how do they still control who can open the file?
Show answer
Remove the password encryption so the file can be co-authored. Control access with sharing permissions in the Share pane, giving specific people edit or view rights.
Exercise
Two people edit the same workbook. One uses desktop Excel and the other uses Excel for the web. The desktop user's macro button does nothing for the web user. Why, and what is a good design response?
Show answer
Excel for the web does not run macros. Keep macro-dependent steps with desktop users, or move the macros to a separate file or add-in, and build the shared sheets so web users can work without them.