Sub topic 14
Troubleshooting sharing and sync problems
This chapter assumes you can already save a workbook to OneDrive or SharePoint, share it with the Share button, and use AutoSave and co-authoring at a basic level. It also assumes you know what the chapters on co-authoring limits and conflict resolution cover. Here you will build a repeatable way to diagnose problems, then work through the most common symptoms.
A diagnostic model
Almost every sharing or sync problem falls into one of four layers. Check them in this order, because a fault in a lower layer makes the higher ones look broken.
- Location. Is the file stored in OneDrive or SharePoint, or is it on a local drive, a network share, or a USB stick?
- Identity and permission. Is each person signed in with the account that was given access, and does that access allow editing?
- File and feature conditions. Does the file format, a feature inside the workbook, or the Excel version block co-authoring?
- Connection and sync. Is the network available, and has the latest change actually reached the server?
Layer 1: location problems
AutoSave is missing or greyed out
AutoSave only works for files stored in OneDrive, OneDrive for Business, or SharePoint. If the toggle in the title bar is missing or cannot be switched on, check these causes:
- The file is stored on a local drive or a network share. Use File > Save a Copy and choose a OneDrive or SharePoint location.
- The file is in an older format such as
.xlsor.xlsb. Save it as.xlsxor.xlsm. - The file is open in Protected View or as read-only. Choose Enable Editing first.
- Your organization has turned AutoSave off by policy. Only an administrator can change this.
The file lives in a synced folder but behaves like a local file
A file under your OneDrive folder on disk is a local copy that the sync client uploads. Excel normally detects this and treats the file as cloud-based. If it does not, check that the OneDrive app is running and signed in, then close and reopen the workbook from the synced folder.
You can test the state from a macro. The AutoSaveOn property, introduced earlier in the tutorial, is a quick way to confirm what Excel thinks about the active workbook.
Sub ReportAutoSaveState()
If ActiveWorkbook.AutoSaveOn Then
MsgBox "AutoSave is on. Edits are saved to the cloud automatically."
Else
MsgBox "AutoSave is off. Turn it on to co-author in real time."
End If
End SubIf the message says AutoSave is off for a file you believe is in the cloud, look at the workbook's full path (ActiveWorkbook.FullName). A path beginning with a drive letter or \\server rather than https:// suggests Excel is working on a local copy.
Layer 2: identity and permission problems
A collaborator sees "request access" or opens the file read-only
Work through these checks:
- Confirm the link type. A link limited to specific people only works for the exact email addresses entered. If the person signs in with a different address, they are refused.
- Confirm the permission. Can view links never allow edits, even if the person is signed in correctly.
- Check for an organization policy. Some tenants block links that reach people outside the organization.
- Check whether the link has expired or been removed. Open Share > Manage access to see the current state.
Someone has access to the link but not to the folder
Permissions can be set on the file or inherited from the folder. If a person was given a link to the file, they can open the file but may not see its parent folder. This is normal and not an error. If they need to find the file later, share the folder or send the link again.
Two accounts with the same person
A common cause of confusing behavior is a person who has both a personal Microsoft account and a work account. Excel may sign them in with the wrong one. Ask the person to check the account name shown at the top right of Excel, switch if needed, and reopen the link.
Layer 3: file and feature conditions
Co-authoring depends on the file being in a format and state that the cloud service can merge. The most frequent blockers are listed here. The earlier chapter on co-authoring limits explains the reasons in more detail.
| Symptom | Likely cause | Fix |
|---|---|---|
| File opens read-only for the second person | The first person has the file open in a desktop version that does not support co-authoring | Update Excel or use Excel for the web |
| Banner says the file is locked for editing | A user opened it from a local sync or from an older Excel version | Ask that user to close the file; reopen it |
| Co-authoring never starts | The file is `.xls`, `.xlsb`, or has the legacy Shared Workbook feature turned on | Save as `.xlsx` or `.xlsm`; turn off Shared Workbook |
| A feature is greyed out | The feature does not work during co-authoring | Complete that task alone, then reopen for others |
| Macros do not run in the browser | Excel for the web does not run VBA | Use the desktop app for macro work |
| Password-protected workbook cannot be co-authored | Encryption with a password blocks real-time merging | Remove the open password, and control access through sharing instead |
Legacy Shared Workbook left on
An older file may still have Share Workbook (Legacy) enabled. The title bar shows [Shared]. This mode blocks modern co-authoring. Turn it off in the legacy dialog, save, and reopen the file. Do this only when no one else is editing, because turning it off discards the change history that legacy sharing kept.
Excel version differences
Co-authoring works best when everyone uses a current Microsoft 365 build. Mixed versions are a frequent hidden cause. If one person runs a perpetual version such as Excel 2016, they may see only saved changes, receive prompts to refresh, or be unable to join live. Compare the version in File > Account for each person before you chase deeper causes.
Layer 4: connection and sync problems
Edits do not appear for other people
When a change you made is not visible to others, the change has not reached the server. Look at the status next to the file name in the title bar.
- Saving… means the upload is in progress. Wait.
- Saved to OneDrive or Saved means the server has your change.
- Offline or a warning icon means Excel could not reach the service.
If the status shows a problem, check your network, then use File > Save to force a save. If the file keeps failing, save a copy locally before you do anything else, so you do not lose your work.
"Updates available" or a refresh prompt
Excel sometimes asks you to save or refresh so that your changes and others' changes can be merged. Accept the prompt. If you ignore it for a long time, the gap between your copy and the server grows, and a conflict becomes more likely.
Conflict messages
If two people change the same cell, the last saved value wins, and the other person may see a notice. When Excel cannot merge automatically, it offers a choice between keeping your version and the server's version. The conflict chapter describes the rules. In practice:
- Before you choose, copy the cell contents you care about to a safe place.
- Choose the version that contains the most work.
- Use Version History to compare and restore any value you lost.
Sync client stuck
When the OneDrive app on a computer reports "Processing changes" for a long time, or shows red icons on files, the sync client is the problem rather than Excel. Pause and resume syncing, confirm that there is enough free space on the disk and in your OneDrive quota, and check for file names with unsupported characters or paths that are too long.
Using Version History as a safety net
Most damage from sharing mistakes can be undone. Open File > Info > Version History and look for the version saved just before the problem. Open it, confirm that it is correct, and choose Restore. Restoring creates a new version, so later edits remain in the history. Do this after you have identified the cause, otherwise the same problem may repeat.
A short checklist
Use this list when a user reports a problem and you do not yet know the cause.
- Ask for the exact message or a screenshot.
- Confirm the full path or URL of the file.
- Confirm the file format and whether the title bar shows
[Shared]. - Confirm which account each person is signed in with.
- Confirm the Excel version for each person.
- Try opening the same link in Excel for the web. If it works there, the problem is local to the desktop app or sync client.
- Try a different account or device to separate a user problem from a file problem.
Exercises
Exercise
A colleague has the link to your workbook and is signed in, but Excel opens it read-only. The link was sent as "Specific people" with edit access. Name two checks that could explain this.
Show answer
First, check that the colleague signed in with the exact email address the link was granted to. A different or personal account is refused editing rights. Second, check Share > Manage access to see whether the permission is Can view, or whether the link expired or policy blocks it. Also valid: the workbook is in a format or state, such as .xls or Protected View, that does not allow editing.
Exercise
The AutoSave toggle is greyed out for a file you opened from C:\Reports\budget.xlsx. What is the cause and the fix?
Show answer
The file is stored locally, and AutoSave only works for files in OneDrive or SharePoint. Use File > Save a Copy to save it to a OneDrive or SharePoint location, then work from that copy.
Exercise
You turned on AutoSave and your edits show "Saved", but a collaborator on Excel 2016 cannot see them live. What is the likely reason, and how would you confirm it?
Show answer
Excel 2016 is a perpetual version without full real-time co-authoring support, so it sees only saved changes and may need to refresh. Confirm by checking File > Account for the version number on their machine, and test by having them open the file in Excel for the web.