Sub topic 5
Co-authoring in Real Time and Seeing Who Is Where
This chapter assumes you can already save a workbook to OneDrive or SharePoint, share it with the Share button, and set link permissions. It also assumes AutoSave is on. Here you will see how several people edit one workbook at once and how Excel shows where each person is working.
How real-time co-authoring works
Co-authoring means two or more people have the same workbook open and edit it at the same time. Excel does not give each person a separate copy. Each person's edits go to the file in the cloud, and Excel sends them to everyone else's open window within a few seconds.
Two conditions must hold for this to work:
- The file is stored in OneDrive or SharePoint, not on a local drive.
- AutoSave is on for each person. Without it, a person's edits stay local until they save, and others do not see them as they happen.
You can check the AutoSave state with a macro:
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 SubThe AutoSaveOn property returns True when the active workbook saves changes automatically.
Seeing who is where
Excel shows who else is in the workbook so you can avoid working on top of each other.
- Presence icons. Initials or pictures of the other editors appear at the top right of the window. Select them to see names.
- Colored cell markers. When someone selects a cell or range, a colored border with their name appears around it in your window. Each person gets a different color.
- Updating cells. When a collaborator changes a cell you can see, the new value appears in your window without a refresh.
Presence markers show where a person has clicked. They do not lock the cell. Another person can still edit a cell that someone else has selected.
A short walkthrough
Try this with a colleague, or open the same file in Excel for the web in a second browser.
- Save a workbook to OneDrive and share it with edit permission.
- Both people open the file and check that AutoSave shows On in the top left.
- Person A selects cell
B2. Person B should see a colored border labeled with A's name. - Person B types a value in
D5. Person A should see it appear shortly after. - Both people select the presence icons to confirm who is in the file.
Which apps support co-authoring
Real-time co-authoring works between the Excel desktop app on Windows and Mac, Excel for the web, and the Excel mobile apps. Older Excel versions may not show live changes. They may open the file and sync only when saved, or open it read-only. Ask collaborators to update if they report missing presence markers.
Common errors
| Symptom | Likely cause | What to do |
|---|---|---|
| You see no one else in the file | The other person has the file open from a local copy or a different link | Both open it from the shared OneDrive or SharePoint location |
| Changes appear only after saving | AutoSave is off for that person | Turn AutoSave on |
| The file opens read-only | The link gives view permission only | Ask the owner for edit permission |
| Presence markers are missing | An older Excel version | Update Excel or use Excel for the web |
Working habits that help
- Agree on who works in which sheet or range before you start.
- Check the presence icons before a large edit such as sorting, filling, or pasting over a range.
- Keep the workbook open only in one window per person to avoid confusing your own presence markers.
Exercise
Two people have the same OneDrive workbook open. Person A types in a cell, but Person B does not see the change until A closes the file. What is the most likely cause, and how do you fix it?
Show answer
AutoSave is most likely off for Person A, so the edit stays local until saved or closed. Person A should turn AutoSave on, in the top left of the Excel window. Person A can also run the AutoSaveOn check macro to confirm the state.
Exercise
You see a colored border labeled with a colleague's name around cell C10. Can you edit C10? What should you do?
Show answer
Yes. The border only shows where the colleague has selected, and it does not lock the cell. Before editing, coordinate with the colleague so your changes do not overwrite each other.