To make an Excel file read only in Microsoft 365, you protect the workbook structure or set file permissions so others can view but not edit. This prevents accidental changes, enforces compliance, or shares finalized reports. No special tools are required—just Microsoft Excel in Microsoft 365, and a file you own or have edit access to.
What You'll Need
- A Microsoft 365 subscription with Excel installed (desktop or web)
- An Excel file (.xlsx or .xlsb) you have edit permissions for
- Access to the file’s location (OneDrive, SharePoint, or local drive)
Step-by-Step
- Open the Excel file you want to make read only in Microsoft Excel (desktop app or Excel for the web).
- Click the File tab in the top-left corner of the ribbon.
- Select Info from the left-hand menu. This shows file properties and protection options.
- Under Permissions, click Protect Workbook, then choose Encrypt with Password if you want to require a password to open the file. Skip this step if you only want to restrict editing, not access.
- Back in the Protect Workbook menu, select Restrict Editing. This opens the Restrict Editing pane on the right side of the screen.
- In the Restrict Editing pane, check the box labeled Allow only this type of editing in the document.
- From the dropdown menu below, select Read Only. This prevents users from making any changes to the content unless they unprotect the file.
- Click Yes, Start Enforcing Protection at the bottom of the pane.
- When prompted, enter a password to unlock editing later (optional but recommended). Type the password in the first box, then confirm it in the second box. Click OK. If you leave this blank, anyone can remove the restriction without a password—avoid this in shared or sensitive files.
- Save the file. If it’s stored in OneDrive or SharePoint, changes are saved automatically. If it’s local, press Ctrl + S or click Save in the top-left.
- Close and reopen the file to verify the protection works. You should see a message at the top saying This workbook is protected and be unable to edit cells unless you click Unprotect Workbook and enter the password.
Common Mistakes
- Forgetting to click Yes, Start Enforcing Protection after selecting Read Only—this is the most common error and leaves the file unprotected.
- Leaving the password field blank, which allows anyone to remove protection without authorization.
- Using Protect Sheet instead of Protect Workbook: Protect Sheet only locks individual sheets, not the entire workbook structure. Users can still add, delete, or rename sheets.
- Assuming file permissions set in OneDrive or SharePoint automatically make Excel read only—these control access to the file, not what users can do inside Excel once opened.
- Not saving after applying protection—changes are lost if you close without saving.
Tips
- Use a strong, unique password for protection—avoid common words or birthdays. Store it securely in a password manager.
- If sharing via email or cloud, also set the file’s cloud permissions to View Only in OneDrive or SharePoint for layered security.
- Test the protection by opening the file in a different user account or device to confirm it works as intended.
- For team collaboration, consider using Excel’s Shared Workbook feature with tracked changes instead of read-only if edits are needed but must be logged.
- Keep an unprotected copy as a backup before applying restrictions, in case you need to make future edits.
- Use the Read-only recommended option (under Save As > Tools > General Options) to prompt users to open as read only, but allow them to bypass it—useful for gentle enforcement.
Troubleshooting
- The file still allows editing after applying protection: Confirm you clicked Yes, Start Enforcing Protection. If you skipped this, the setting is inactive. Reopen the file and repeat steps 5–9.
- Forgot the password: Microsoft cannot recover lost passwords. You must restore from a backup or recreate the file. Always store passwords securely.
- Can’t find the Restrict Editing option: Make sure you’re in Excel, not Excel for the web. The web version has limited protection features. Use the desktop app for full control.
- Users can still delete or rename sheets: You must use Protect Workbook > Restrict Editing > Read Only. Protecting individual sheets won’t prevent structural changes.
- Protection disappears after saving: Ensure you saved the file with the protection applied. If using cloud storage, check that auto-sync didn’t revert to an older version.
- Receiving an error when opening the file: If you encrypted with a password, ensure you’re entering it correctly. If the file is corrupted, try opening it on another device or repair it via File > Open > Browse > select file > click arrow next to Open > Open and Repair.