Your Excel workbook is read-only because another user has it open, you lack permission to edit it, or file properties have locked it. To fix this, close the file, verify no other sessions are open, check the file extension and properties, and then save a copy with a new name or change the sharing status. This guide covers every reason a workbook becomes locked and how to regain editing rights.

What You'll Need

  • A computer with Microsoft Excel installed.
  • The file in question located on a local drive, network share, or cloud service.
  • Administrator privileges on the computer or network (if permissions are the issue).

Step-by-Step

  1. Check for Hidden Windows or Sessions Open the Task Manager (Ctrl + Shift + Esc). Go to the "Processes" or "Details" tab and look for any instances of Excel.exe. If you see multiple instances, close all of them. Sometimes, a previous session crashes but leaves the file locked in memory. Restarting Excel ensures no ghost processes are holding the file open.
  2. Verify File Location and Format Ensure you are not trying to save the file to a location where you lack write permissions. For example, saving to the root of a C: drive or a system folder usually requires admin rights. Also, check the file extension. If the file is named "Document.xlsb" (Excel Binary Workbook), it is more prone to corruption. If the file is named "Document.xlsx", it is a standard XML file.
  3. Inspect File Properties Right-click the file icon and select "Properties." Look at the "Security" tab. If the "Read-only" checkbox is ticked, uncheck it and click "Apply." Next, look at the "Sharing" tab. If the file is shared on a network, ensure the "Read-Only" box is not checked there, or that the permissions are set to "Full Control" for your user account.
  4. Unlock via Excel (If Open) If the file is currently open in Excel, go to the "File" tab > "Info." Click "Protect Workbook" and select "Unprotect Workbook.” If you are prompted for a password, you will need that password to proceed. If the workbook is protected, this is a deliberate security measure; without the password, you cannot edit it.
  5. Save As a New Copy The safest way to resolve a read-only error without changing system settings is to save the data to a new file. Go to "File" > "Save As." Choose a location where you have write access, such as your Documents folder or a personal cloud drive. Name the file something new (e.g., "Budget_Final_v2.xlsx") and click "Save.” This creates a working copy of your data.
  6. Disable File Sharing in Excel If the file is on a network drive and you are the owner, Excel may be flagging it as shared. Close the file. In Windows Explorer, navigate to the folder containing the file. Right-click the file > "Properties." Go to the "Sharing" tab and click "Advanced Sharing.” Uncheck "Share this folder.” Click "Apply" and then "OK.” Now try opening the file directly from Windows Explorer.
  7. Check for Network Locks If you are on a corporate network, the file might be locked by a server-side process. Log in to the server hosting the file (if you have access) and look for the file in File Explorer. If you see a small green arrow on the icon, it indicates a user has it open. Ask that user to save and close the file.
  8. Modify the Registry (Advanced) If the file is a local file and refuses to save, it may be corrupted. You can force Excel to treat it as a new file. Press Windows Key + R, type "regedit," and hit Enter. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\[Version]\Excel\Options. Create a new DWORD value named "IgnoreSharedMode" and set it to 1. This tells Excel to ignore sharing locks when opening local files.

Common Mistakes

Users often try to force a save by holding down the "Ctrl" key while clicking the "Save" icon, but this only works for protected views. Another mistake is assuming the file is corrupted when it is simply saved to a read-only folder, like the Windows "System Volume Information” folder. Finally, confusing "Read-Only Workbook Protection" (passwords) with file system "Read-Only” attributes (checkboxes) leads to unnecessary troubleshooting.

Tips

Always keep a backup of your data. If you suspect a file is corrupt, do not overwrite the original. Use the "Open and Repair” feature in Excel by going to File > Open > selecting the file > clicking the arrow next to "Open” > selecting "Open and Repair.” This scans the file for issues and attempts to recover the data without overwriting the source.

Troubleshooting

If the file still shows as read-only after following these steps, the issue lies deeper. First, ensure you are not using compatibility mode. Click "File” > "Convert” > "This Workbook” > "Convert” to update the file format. If the problem persists, the file header is likely damaged. In this case, the "Open and Repair” tool is the only viable option to salvage the data. If the file is on a network, contact your IT administrator to check server logs, as they can see exactly which user or process is holding the lock.

Frequently Asked Questions

Why does Excel say "The file is in use"?

This means another person or process currently has the file open. The file remains locked until that user saves and closes it, or the lock is released by a system restart.

How do I remove the read-only attribute in Windows?

Right-click the file > Properties. Uncheck the "Read-only” box at the bottom of the General tab. If you are on a network or system folder, you may need Administrator rights to change this.

Can I save a read-only file without making a copy?

Only if you have the password to unprotect the workbook or if the file system read-only attribute is removed. If you lack the password, you cannot overwrite the file directly; you must use "Save As.”

What is the difference between *.xlsx and *.xlsb?

.xlsx is a standard, open XML format. .xlsb is a binary format. The binary format is more efficient for very large files but is more prone to corruption if the file is not closed properly.

Does Excel Online have the same read-only issues?

Yes, if the file is checked out in SharePoint or OneDrive, it will appear read-only in the browser. You must check the file back in or delete the checkout lock to edit it.

Why can't I save changes to a file on my desktop?

This usually indicates that the file is located in a system folder or that you are using a standard user account instead of an administrator account. Move the file to your Documents or Desktop folders and try again.