To change an Excel file so it is no longer read-only, you must identify which restriction is active: a Windows file attribute, an Excel-specific password, or a cloud sharing permission. The fastest fix for most users is right-clicking the file in File Explorer, selecting Properties, and unchecking the Read-only box. If the file is locked by another user or a password, you will need to save a copy of the file or enter the administrative password to unlock it.
What You'll Need
- A computer with Microsoft Excel installed.
- Administrative permissions for the folder where the file is stored (if changing file properties).
- The password for the workbook (if the file was specifically locked with a password).
- An active internet connection (if the file is hosted on OneDrive or SharePoint).
Step-by-Step
Depending on why your file is read-only, one of the following methods will resolve the issue. Note that menu labels may differ slightly depending on your version of Excel, your operating system, or your regional settings.
Method 1: Removing the Windows File Attribute
This is the most common cause of read-only files, often happening when files are moved from a CD-ROM, a protected server, or a zipped folder.
- Close the Excel file completely. You cannot change file attributes while the file is open in the application.
- Open File Explorer and navigate to the folder where your Excel workbook is saved.
- Right-click on the specific Excel file and select Properties from the context menu.
- In the General tab, look at the bottom section labeled Attributes.
- Uncheck the box next to Read-only.
- Click Apply and then click OK.
- Double-click the file to open it; it should now allow editing and saving.
Method 2: Disabling "Always Open Read-Only" Settings
Excel has an internal setting that suggests a file be opened as read-only to prevent accidental changes, even if the file system allows editing.
- Open the Excel file.
- Click on the File tab in the top left corner of the ribbon.
- Select Info from the left-hand sidebar.
- Click the Protect Workbook button (usually represented by a lock icon).
- Look for the option Always Open Read-Only. If it is highlighted or selected, click it to toggle the setting off.
- Save the workbook by clicking the save icon or pressing Ctrl + S to commit the change.
Method 3: Removing Password Protection
If a file was saved with a "Modify" password, you will be prompted for it upon opening. If you don't have the password, you cannot remove the read-only status of that specific file, but you can create a new version.
- Open the file and enter the password when prompted to allow editing.
- Go to File > Save As.
- Click More options... or Browse to open the save dialog window.
- Next to the Save button, click the Tools dropdown menu.
- Select General Options....
- Clear any text found in the Password to modify box. Leave the "Password to open" box alone if you still want the file to be private.
- Click OK and then click Save. You may be asked if you want to replace the existing file; select Yes.
Method 4: Fixing Cloud and Shared Permissions (OneDrive/SharePoint)
When working in a collaborative environment, a file may be read-only because someone else has it open or you lack the necessary permissions.
- Check if the file is currently open by another colleague. Excel usually displays a notification stating who has the file locked. If so, ask them to close the file.
- If you are the owner but it is still read-only, check the Share settings. Click the Share button in the top right corner.
- Review the permissions for your account or the group you are in. Ensure that Can edit is selected rather than Can view.
- If the file is in a "Protected View" (common for files downloaded from the internet), click the Enable Editing button in the yellow bar at the top of the spreadsheet.
Common Mistakes
One of the most frequent errors is attempting to change the file properties while the workbook is still open. Windows will not allow you to uncheck the "Read-only" box if the file is active in Excel, often resulting in an error message stating the file is in use. Always ensure Excel is fully closed before accessing the file properties in File Explorer.
Another mistake is confusing "Read-Only Recommended" with a hard lock. When a file is set to "Read-Only Recommended," Excel asks if you want to open it as read-only. Many users click "Yes" out of habit, then wonder why they cannot save their changes. In this case, the file isn't actually locked; the user simply accepted the read-only prompt. Clicking "No" during the opening prompt allows full access.
Users also frequently try to remove a password by simply saving the file under a new name. If the password was set in the General Options, the new copy will often inherit the same protection. You must specifically enter the General Options menu and delete the password string to permanently remove the restriction.
Tips
To avoid the read-only headache in shared environments, use the AutoSave feature provided by OneDrive or SharePoint. This converts the file to a co-authoring format, allowing multiple people to edit the same cells simultaneously without locking the file for others.
If you frequently receive files from external sources that open in "Protected View," you can adjust your Trust Center settings. Go to File > Options > Trust Center > Trust Center Settings > Protected View. Here, you can uncheck the boxes for files originating from the internet or unsafe locations. Use this with caution, as it removes a layer of security against malicious macros.
When sending a file to a client that you want them to see but not change, instead of using the read-only attribute, save the file as a PDF. This is a more professional and reliable way to ensure data integrity than relying on Excel's read-only settings, which can be easily bypassed by experienced users.
Troubleshooting
If you have tried all the steps above and the file remains read-only, follow these checks in order of complexity:
1. Check for a "Ghost" Process: Sometimes Excel crashes, but a background process keeps the file "open" in the eyes of Windows. Open the Task Manager (Ctrl + Shift + Esc), look for any instances of "Microsoft Excel" under the Processes tab, and select End Task for all of them. Now try Method 1 again.
2. Move the File: If the file is in a restricted folder (like a system folder or a read-only network drive), you cannot change its attributes. Copy the file and paste it into your Documents folder or onto your Desktop. If it becomes editable there, the issue is with the folder permissions, not the file itself.
3. Check Antivirus Software: Some aggressive antivirus or ransomware protection software blocks applications from modifying files in certain folders (Controlled Folder Access). Check your security software settings to see if Excel is being blocked from writing to the disk.
4. The "Save As" Workaround: If you cannot remove the read-only status because you lack administrative rights to the original file, use File > Save As. Give the file a slightly different name and save it to a location where you have full control. This creates a brand new version of the data that you own and can edit freely.
Frequently Asked Questions
Why is my Excel file read-only even though I created it?
This usually happens if the file was saved in a folder with restricted permissions, or if it was downloaded from an email attachment and is being held in "Protected View" for security reasons. Clicking "Enable Editing" usually fixes this.
Can I remove a read-only password if I forgot it?
Microsoft does not provide a way to recover or remove a "Modify" password without knowing the original password. Your only option is to open the file as read-only, copy the data, and paste it into a brand new workbook.
Does "Read-Only" mean my data is safe from deletion?
No. Read-only prevents you from saving changes to that specific file. However, someone with access to the folder can still delete the entire file or rename it. It is a content lock, not a file-existence lock.
Why does it say the file is "locked for editing" by another user?
This occurs when a file is stored on a shared network drive. Excel creates a temporary owner file (a hidden file starting with ~$) to prevent two people from overwriting each other's work. Once the other user closes the file, the lock is released.
Will changing a file to not read-only affect other users?
If you change the Windows file attribute (Method 1) on a shared drive, the change applies to everyone who accesses that file. If you use "Save As" to create a new copy, the original remains read-only for everyone else.