Sub topic 1
Step one: store the workbook in OneDrive or SharePoint
Real-time co-authoring in Excel depends on one condition. The file must live in a cloud location that Excel can open for several people at once. This chapter explains which locations qualify, how to move a workbook there, and what to check afterward. Later chapters build on this: sharing, AutoSave and co-authoring all assume the file is already in the cloud.
Prerequisites
This chapter assumes you already have the following:
- Basic Excel skills: entering data, formulas, and formatting.
- A Microsoft 365 or Microsoft account with access to OneDrive or SharePoint.
- Familiarity with saving and opening files on your computer.
You do not need any administrator rights. If you work in an organization, your IT team may restrict where files can be saved. Ask them if a location described below is missing.
Why the storage location matters
A file saved on your local drive (for example C:\Users\you\Documents) exists in one place. Only your copy of Excel can open it for editing. If you email it, each recipient gets a separate copy, and the copies drift apart.
A workbook in OneDrive or SharePoint is different. The service holds one authoritative copy. Each person's Excel opens that copy, sends their changes to the service, and receives other people's changes back. This is what makes co-authoring and AutoSave possible.
| Location | Typical owner | Best for | Co-authoring |
|---|---|---|---|
| OneDrive (personal) | An individual with a Microsoft account | Files shared with a few people | Yes |
| OneDrive for Work or School | An individual in an organization | Files you own and share with colleagues | Yes |
| SharePoint document library | A team or site | Files the team owns together | Yes |
| Microsoft Teams Files tab | A team or channel | Files tied to a team conversation | Yes (stored in SharePoint) |
| Local drive or USB drive | One computer | Private work | No |
| Network file share (SMB) | An organization's file server | Legacy workflows | No |
Teams stores channel files in a SharePoint document library behind the scenes. Saving there gives you the same behavior as SharePoint.
OneDrive or SharePoint: choosing one
The choice mostly comes down to ownership.
- Choose OneDrive when the workbook is yours. You control who can access it. If you leave the organization, your OneDrive is usually removed, and the file can disappear with it.
- Choose SharePoint (or a Teams channel) when a group owns the workbook. The file stays with the team when members come and go, and permissions can be managed for the whole site.
If you are unsure, ask who should still have the file in a year. If the answer is "the team", use SharePoint.
Saving a new workbook to the cloud
- Create or open the workbook in Excel.
- Select File > Save As (or Save a Copy, depending on your version).
- Pick OneDrive (personal or your organization) or a SharePoint site from the list of locations.
- Choose a folder, enter a file name, and select Save.
After saving, look at the title bar. It shows the file name and, in current versions of Excel, an AutoSave toggle at the top left. The toggle is on by default for files in OneDrive or SharePoint.
Moving an existing workbook
For a workbook that already exists on your computer, you have three options.
- Save a copy to the cloud from Excel. Use File > Save a Copy and choose OneDrive or SharePoint. The original local file stays where it was. Use this when you want to keep the old file as a backup.
- Upload through the browser. Open OneDrive or SharePoint in a web browser, go to the target folder, and use Upload > Files. Use this when you do not want to open the workbook first.
- Move it into a synced folder. If the OneDrive sync client is installed, drag the file into your OneDrive folder in File Explorer or Finder. The client uploads it for you.
Whichever method you pick, do not keep working in the old local copy afterward. Open the cloud copy and edit that one. Otherwise your changes go to a file nobody else can see.
Confirming that the file is in the cloud
Before you share anything, check three things.
- The title bar shows the file name with a cloud-style location, and the AutoSave toggle appears.
- Select File > Info. The path shown at the top should begin with a OneDrive or SharePoint address (a web URL such as
https://contoso.sharepoint.com/...), not a drive letter. For OneDrive sync folders you may still see a local path. In that case, the toggle in the title bar is the more reliable signal. - Open the file in Excel for the web by selecting it in OneDrive or SharePoint in your browser. If it opens in the browser, the cloud copy is valid.
You can also check from code. The macro below reads the Workbook.AutoSaveOn property and tells you whether the active workbook is currently set to save changes automatically. A workbook that is stored locally returns False, so the result is a quick hint that the file is not yet in a cloud location.
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 SubTo run it, press Alt+F11 to open the VBA editor, insert a module, paste the code, and run it. Note that a workbook with macros must be saved as .xlsm, and that format limits co-authoring in some cases. Chapter content on limits comes later in this tutorial. For this chapter, use the macro only as a check on a copy of your file.
Supported file formats
Co-authoring works with modern Excel file formats. Check the extension before you upload.
| Format | Extension | Co-authoring |
|---|---|---|
| Excel Workbook | `.xlsx` | Yes |
| Excel Macro-Enabled Workbook | `.xlsm` | Yes in current Microsoft 365 apps, with some limits on macros |
| Excel Binary Workbook | `.xlsb` | Yes in current versions, but opens more slowly in the browser |
| Excel 97-2003 Workbook | `.xls` | No. Convert it first |
| CSV | `.csv` | No. It is plain text with no cell formatting or multiple sheets |
To convert an old .xls file, open it in Excel and choose File > Save As, then select Excel Workbook (*.xlsx). Check formulas and formatting afterward, since a few legacy features do not carry over.
Edge cases and common mistakes
- Saved to "This PC" by default. Some installations default to a local folder. Always check the location in the Save As dialog.
- Personal and work accounts mixed up. If you are signed in to both, you may save to your personal OneDrive when you meant to use the work one. Collaborators from your organization may then be unable to open it under their policies. Check the account name next to the location.
- Very long paths or special characters. Paths that are too long, or names with characters such as
#,%, or trailing spaces, can cause upload or sync failures. Use short, plain folder and file names. - File size. Large workbooks sync slowly and can time out. If a file is hundreds of megabytes, consider removing unused sheets, clearing excess formatting, or splitting the data.
- Password protection. A workbook encrypted with a password to open cannot be co-authored. Remove the password and control access through sharing permissions instead.
- Offline work. If you lose your connection, Excel keeps your changes locally and syncs them when you reconnect. Real-time updates from others pause until then.
- Syncing and the browser can differ. A file in a synced folder can show a "syncing" status for a while after you save. Wait for the sync check mark before you tell others it is ready.
Putting it together
A short workflow for a new shared workbook looks like this.
- Decide who owns the file: you (OneDrive) or a team (SharePoint or Teams).
- Make sure the file is
.xlsxor another supported modern format and has no open password. - Save it to the chosen cloud location with a short, plain name.
- Confirm the AutoSave toggle is on and the file opens in Excel for the web.
- Close any old local copies so no one edits the wrong file.
Once these steps are done, the workbook is ready to be shared, which is the subject of the next chapter.
Exercise
You have a budget workbook named Budget 2026.xls on your laptop. Your team of six will edit it together, and it should stay available when individual members leave. Describe where you would save it, what you must do to the file first, and how you would confirm the move worked.
Show answer
Save it to a SharePoint document library (or the team's Teams Files tab), because the team owns it and SharePoint keeps it when members leave. First convert it from .xls to .xlsx with File > Save As, because the legacy format does not support co-authoring. Then save the converted file to SharePoint with a short, plain name. Confirm the move by checking that the AutoSave toggle appears in the title bar, that File > Info shows a SharePoint address, and that the file opens in Excel for the web. Finally, stop using the old local copy.
Exercise
A colleague says the macro ReportAutoSaveState shows "AutoSave is off" for a workbook they believe is in OneDrive. Name two likely causes.
Show answer
The workbook may actually be open from a local path or a non-cloud location such as a network share, so it is not in OneDrive or SharePoint. Or the file is in the cloud, but AutoSave was turned off in the title bar toggle, or the file format (such as .xls) does not support it. Checking File > Info for the location and the toggle state tells you which cause applies.