Why Excel opens in read-only and how to fix it
Excel opens a file in read-only mode when the file itself is marked read-only, when you do not have write permission to the folder it sits in, or when another person has the file open at the same time. The fix depends on which of these is happening. Most often, you can change the mode by clicking a button in the yellow notification bar at the top of the spreadsheet — but if that does not work, you will need to change the file properties or folder permissions on your computer.
Read-only mode prevents you from saving changes to the original file. You can still edit the spreadsheet, but Excel will ask you to save it with a new name instead. If you need to edit and save the file under its current name, you must exit read-only mode first.
Key Takeaways
- If a yellow bar appears at the top saying the file is read-only, click "Edit Anyway" to switch to edit mode immediately.
- If no notification bar appears, right-click the file in File Explorer, select Properties, and uncheck the "Read-only" checkbox under Attributes.
- If you do not own the file or folder, you may need to ask the file owner or your IT administrator to change your permissions.
- If another person has the file open, close it on their computer or ask them to save and close it so you can edit it.
Using the Edit Anyway button in the notification bar
When you open a read-only file, Excel usually displays a yellow notification bar below the ribbon that says "This file is read-only. To make changes, you must first enable editing." Below that message is an "Edit Anyway" button.
Click "Edit Anyway" to switch the file to edit mode. You can now make changes and save them to the original file. This is the fastest fix and works when the file is marked read-only but you have permission to change it.
If you do not see this notification bar, the file may be read-only for a different reason — such as a folder permission issue or another user having it open — and you will need to use one of the other methods below.
Removing the read-only attribute from file properties
If the notification bar does not appear, the read-only status may be set in the file's properties. To check and change this, close Excel and go to File Explorer (or Finder on Mac). Right-click the Excel file and select "Properties" from the menu.
In the Properties window, look at the bottom under "Attributes." If a checkbox next to "Read-only" is checked, click it to uncheck it. Then click "Apply" and "OK." Go back to Excel, open the file again, and it should no longer be in read-only mode.
On a Mac, right-click the file, select "Get Info," and look for a "Locked" checkbox near the bottom. If it is checked, click it to uncheck it, then close the window.
Checking if another person has the file open
If the file is stored on a shared network drive or in a cloud folder like OneDrive or Google Drive, another person may have it open. When a file is in use by someone else, Excel often opens it in read-only mode to prevent conflicting edits.
Ask the other person to save and close the file on their computer. Once they close it, close your copy in Excel and open the file again. It should now open in edit mode.
If you are not sure who has the file open, check the file's version history or recent activity in OneDrive or SharePoint. Both services show who opened the file and when.
Changing folder permissions if you do not own the file
If you do not own the file or the folder it is in, you may not have permission to edit it. Right-click the file or folder in File Explorer, select "Properties," and go to the "Security" tab. Click "Edit" to see your permissions.
If your name or user group does not appear in the list, or if your permissions show "Deny" instead of "Allow," you do not have write access. Contact the file owner or your IT administrator and ask them to give you write permission to the file or folder.
On a Mac, right-click the file, select "Get Info," scroll to "Sharing & Permissions," and click the lock icon at the bottom to unlock it. Then change your access level from "Read only" to "Read & Write."
Saving a read-only file with a new name
If you cannot change the read-only status but still need to work with the file, you can save it under a new name. While the file is open in read-only mode, go to File > Save As. Choose a new location or give it a new filename, then click Save. The new copy will be editable.
This approach is useful if you want to keep the original file unchanged or if you do not have permission to modify it. The new file is a separate copy, so changes you make will not affect the original.
Frequently Asked Questions
Why does Excel keep opening my file in read-only mode even after I click Edit Anyway?
This usually means another person still has the file open, or the file is in a folder where you do not have write permission. Ask anyone else using the file to close it, or contact your IT administrator to check your folder permissions. If the file is on OneDrive, try signing out and signing back in to refresh your access.
Can I edit a read-only file without changing it to edit mode?
You can make changes while in read-only mode, but you cannot save them to the original file. Excel will ask you to save with a new name instead. If you need to save to the original filename, you must exit read-only mode first using one of the methods above.
What if the Read-only checkbox is grayed out and I cannot uncheck it?
A grayed-out checkbox usually means you do not have permission to change the file's properties. Contact the file owner or your IT administrator and ask them to remove the read-only attribute. On a network drive, your administrator may need to change the folder permissions instead.
Does read-only mode protect the file from being changed by anyone?
No. Read-only mode is a soft restriction — anyone with edit permission can click "Edit Anyway" and change the file. It is meant to prevent accidental edits, not to provide security. If you need to truly protect a file, use Excel's password protection feature under File > Info > Protect Workbook.