To change an Excel file from view-only to edit mode, click the Enable Editing button in the yellow Message Bar at the top of the screen, or go to File > Info > Protect Workbook and disable the restriction. Depending on why the file is locked—whether it is a security feature, a shared permission setting, or a file attribute—the solution varies from a single click to changing folder permissions.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • The Excel file you wish to edit.
  • Administrative access to the file or permission from the file owner if it is a shared document.

Step-by-Step

Since there are different reasons why a file appears as "View Only," follow these methods in order from the most common to the most complex. Note that menu labels may differ slightly depending on your version of Excel or your operating system.

Method 1: Using the Message Bar (Protected View)

This is the most common scenario for files downloaded from the internet or received via email.

  1. Open the Excel file.
  2. Look for a yellow bar at the top of the spreadsheet that says "Protected View. Be careful—files from the Internet can contain viruses."
  3. Click the Enable Editing button located on the right side of that yellow bar.
  4. The file should now be unlocked for editing.

Method 2: Disabling "Read-Only" File Properties

If the file was saved with a "Read-only" attribute in the system settings, you must change it at the folder level.

  1. Close the Excel file if it is currently open.
  2. Locate the file in your File Explorer (Windows) or Finder (Mac).
  3. Right-click the file and select Properties (Windows) or Get Info (Mac).
  4. In the General tab (Windows) or the General section (Mac), look for the Read-only checkbox.
  5. Uncheck the Read-only box.
  6. Click OK or close the info window.
  7. Re-open the file in Excel.

Method 3: Removing Workbook Protection

If the file opens but you cannot edit specific cells or sheets, the author may have protected the workbook structure.

  1. Open the Excel file.
  2. Click on the Review tab in the top ribbon.
  3. Look for the Protect group.
  4. If Unprotect Sheet or Unprotect Workbook is highlighted or available, click it.
  5. If a password was set by the creator, you will be prompted to enter it. Enter the password and click OK.

Method 4: Changing Permissions for Shared Files (OneDrive/SharePoint)

If the file is stored in the cloud and shared with you, you may only have "Can View" permissions.

  1. Open the file in Excel.
  2. Click the Share button in the top right corner.
  3. Check the permissions list to see if your name is listed as "Can view."
  4. If you do not have edit access, click Request Edit Access or contact the owner of the file to change your permissions to "Can edit."

Method 5: Saving a Copy of the File

If you cannot bypass the restrictions but need to edit the data immediately, creating a new version of the file often removes the "View Only" status.

  1. Open the view-only file.
  2. Click File > Save As (or Save a Copy).
  3. Choose a location on your local hard drive (not a shared network folder).
  4. Give the file a new name and click Save.
  5. Close the original file and open the new copy.

Common Mistakes

  • Ignoring the Yellow Bar: Many users assume the file is "broken" when it is simply in Protected View. Always check for the Enable Editing button first.
  • Trying to Edit a Read-Only Copy: If a file is marked as "Read-Only" in the system properties, clicking "Enable Editing" inside Excel often won't work because the operating system is blocking the save. You must change the file properties in the folder.
  • Forgetting the Password: If a workbook is protected with a password, there is no official way to "toggle" it off without that password.
  • Editing in the Browser: Sometimes the Excel Web App has different permission prompts than the desktop app. If you are stuck in view-only mode online, try clicking "Open in Desktop App."

Tips

  • Trust Center Settings: If you frequently open files from a specific trusted folder that always open in Protected View, you can add that folder to "Trusted Locations" via File > Options > Trust Center > Trust Center Settings > Trusted Locations.
  • Check for "Final" Status: If you see a message saying "An author has marked this workbook as Final," click the Edit Anyway button in the message bar to remove this restriction.
  • Keyboard Shortcut: While there is no direct shortcut to "Enable Editing," pressing F12 quickly opens the "Save As" dialog, which is the fastest way to create an editable copy of a locked file.

Troubleshooting

If the file remains in view-only mode after trying the steps above, try these solutions in order:

  1. Check your Office Activation: If your Microsoft 365 subscription has expired or you are not signed in, Excel enters a "Reduced Functionality Mode," which makes all files view-only. Check File > Account to ensure your license is active.
  2. Restart Excel: A glitch in the application can sometimes lock a file. Close all instances of Excel via the Task Manager and restart.
  3. Check for Other Users: If the file is on a shared network drive, another person may have the file open. Excel locks files to prevent two people from saving over each other. Wait for the other user to close the file.
  4. Update Excel: Ensure your software is up to date. Go to File > Account > Update Options > Update Now.

Frequently Asked Questions

Why is my Excel file view-only even though I created it?

This usually happens if the file was moved from another computer, downloaded from a cloud backup, or if your Microsoft 365 subscription has lapsed, putting the app into reduced functionality mode.

Can I remove a password from a view-only sheet?

You can only remove the password if you already know it. Go to the Review tab and select Unprotect Sheet, then enter the password.

Does "Read-Only" mean the same thing as "Protected View"?

No. Protected View is a security feature for files from the internet. Read-Only is a file attribute or a permission setting that prevents the original file from being overwritten.

Will saving a copy of a view-only file delete the original?

No. Using "Save As" creates a brand new file with a different name or location, leaving the original view-only file completely untouched.

Why does it say "Read-Only" when I open a file from an email?

Email clients often open attachments in a temporary folder. Because these are temporary files, Excel opens them in Protected View or Read-Only mode to protect your computer from potential malware.