If your Excel file opens with a yellow bar saying “Protected View” or “Read-Only,” you can’t type in it until you clear that status. The fix is usually a single click on the bar, but sometimes the file is truly locked by permissions, file properties, or another user. This guide walks through every real reason a workbook becomes read-only and the exact steps to make it editable again.

What You'll Need

  • The Excel file in question (on your computer or a network drive).
  • Permission to modify the file’s folder (if it’s on a shared drive or server).
  • If the file is stored in OneDrive or SharePoint, you need edit permission from the owner.

Step-by-Step

1. Click the Yellow “Protected View” Bar (Most Common)

  1. Open the Excel file. If you see a yellow bar under the ribbon that says “Protected View,” click the “Enable Editing” button on that bar.
  2. If the bar says “Read-Only” with a button labeled “Edit Anyway”, click it. This happens when the file is marked as final or has a password for write access.
  3. After clicking, the bar disappears and you can edit the file normally.

2. Check File Properties for “Read-Only” Attribute

  1. Close Excel.
  2. Right-click the file in File Explorer (Windows) or Finder (Mac) and select “Properties” (Windows) or “Get Info” (Mac).
  3. Look for a checkbox labeled “Read-only” under the “Attributes” or “General” section.
  4. If it is checked, uncheck it and click “OK” (Windows) or close the info window (Mac).
  5. Reopen the file in Excel – it should now be editable.

3. Remove “Mark as Final” Status

  1. Open the file in Excel.
  2. Go to File > Info.
  3. Look for a button that says “Mark as Final” or a message like “An author has marked this workbook as final.”
  4. Click “Mark as Final” again to toggle it off (it will ask for confirmation).
  5. If you see “Mark as Final” in the ribbon under File > Protect Workbook, click it to unmark.

4. Remove a Write Password (Password to Modify)

  1. Open the file – if Excel asks for a password to modify, you need the password. If you have it, type it and check “Read-only recommended” is unchecked.
  2. Once open, go to File > Save As.
  3. In the Save As dialog, click “Tools” (next to the Save button) and select “General Options” (Windows) or “Options” (Mac).
  4. Clear the “Password to modify” field and click “OK”.
  5. Save the file with a new name or overwrite the original.

5. Turn Off “Read-Only Recommended”

  1. Open the file, then go to File > Save As.
  2. In the Save As dialog, click “Tools” > “General Options”.
  3. Uncheck “Read-only recommended”.
  4. Save the file.

6. If the File Is Stored on OneDrive or SharePoint

  1. Open the file in Excel – if it says “Read-Only” because it’s checked out by another user, you’ll see their name.
  2. Ask that person to check in the file, or if you have permission, go to the OneDrive/SharePoint site in a browser, select the file, and click “…” > “Manage access” to edit permissions.
  3. If the file is synced to your computer via OneDrive, right-click the file in File Explorer and select “Always keep on this device” – sometimes a file is only a placeholder and opens read-only.

7. If the File Is on a Network Drive

  1. Check if you have write permission to the folder. Right-click the folder and select “Properties” > “Security” tab (Windows) to see your permissions.
  2. If you don’t have write permission, contact your IT admin or the folder owner to grant it.
  3. Alternatively, copy the file to your local desktop, edit it there, and then upload it back (if allowed).

8. Clear the “Read-Only” Status from the File’s Properties in Excel (Windows)

  1. Open Excel, go to File > Open and browse to the file.
  2. Instead of double-clicking, click once to select it, then click the small arrow next to “Open” and choose “Open read-only” – if that option is available, it means the file is not read-only by default. If it is, just open normally.

Common Mistakes

  • Clicking “Enable Editing” but still can’t type: This happens when the file also has a write password or is marked as final. You need to remove those as well.
  • Saving to a new name but forgetting to clear the read-only attribute: If the original file had the read-only attribute set in properties, saving it to a new name won’t remove that attribute from the new file – you must uncheck it in properties.
  • Assuming “Read-Only” bar means the file is locked: Sometimes it’s just Protected View from downloading the file – clicking “Enable Editing” fixes it.
  • Editing a file that’s checked out in SharePoint: If you don’t have edit permissions, no amount of local tweaking will help – you need the owner to share it with edit rights.

Tips

  • If you frequently get Protected View on files from email or the internet, you can disable Protected View for those sources in File > Options > Trust Center > Trust Center Settings > Protected View – but be careful: only do this for trusted sources.
  • When you remove a write password, save the file with a new name first, then delete the old one if you’re sure you don’t need it.
  • If you’re collaborating, use Excel’s “Share” feature (top right) instead of emailing files – it avoids many read-only issues.

Troubleshooting

If the file still opens read-only after trying all steps:

  1. Check if the file is stored in a folder that is synced with OneDrive or SharePoint. Sometimes the sync client marks files as read-only if there’s a sync conflict. Right-click the file in File Explorer and select “View online” to see its status.
  2. Open Excel in Safe Mode (press Ctrl while launching Excel, or run excel.exe /safe). If it opens editable, a third-party add-in is forcing read-only. Disable add-ins under File > Options > Add-ins.
  3. Check if the file is actually a PDF or a picture renamed to .xlsx – that won’t open properly in Excel.
  4. If the file is on a USB drive or external hard drive, copy it to your local disk first – some drives have write-protect switches.
  5. As a last resort, open the file in Excel, select all content (Ctrl+A), copy, and paste into a new workbook. This strips most locks, but formatting may be altered.

Frequently Asked Questions

Why does my Excel file say “Read-Only” even though I created it?

You might have accidentally marked it as final, or the file properties have the read-only attribute set. Check both as described in Steps 2 and 3.

Can I remove a write password if I don’t know it?

No – you must have the password to remove it. If you forgot it, you’ll need to ask the person who set it, or recreate the file from scratch.

What does “Protected View” mean?

It’s a security feature that opens files from the internet, email, or other potentially unsafe locations in a sandbox. Click “Enable Editing” to edit – it’s safe if you trust the source.

Why is my file read-only on a network drive but not on my desktop?

You likely have write permission to your desktop but not to the network folder. Contact your IT admin to request write access.

Does “Mark as Final” actually prevent editing?

No, it’s just a flag that makes Excel open the file as read-only, but anyone can turn it off by clicking “Edit Anyway” or toggling the setting in File > Info.

How do I make a file read-only on purpose?

Go to File > Info > Protect Workbook > “Always Open Read-Only” or set a password to modify. You can also set the read-only attribute in file properties.