To change a file from view-only in Excel, you must either click the "Edit Workbook" button in the top notification bar, disable the "Read-only Recommended" setting in the Save As options, or change the file permissions in your operating system's file properties. The specific method depends on whether the restriction is a soft suggestion from the author, a permission setting on the file itself, or a restriction imposed by the owner of a shared cloud document.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- The Excel file you wish to edit.
- Administrative permissions on your computer (if changing file properties).
- Edit access granted by the owner (if the file is shared via OneDrive or SharePoint).
Step-by-Step
Depending on why your file is in view-only mode, follow the corresponding method below. Note that menu labels may differ slightly depending on your version of Excel, your device, or your regional settings.
Method 1: Using the Edit Workbook Banner
This is the most common scenario for files opened from email attachments or cloud folders where Excel has placed the file in a protected state to prevent accidental changes.
- Open the Excel file.
- Look for a yellow or gold notification bar at the top of the spreadsheet, just below the ribbon.
- If the bar says "Read-Only" or "Protected View," click the button labeled "Edit Workbook" or "Enable Editing."
- Once clicked, the banner will disappear, and you can begin typing in the cells.
Method 2: Removing Read-Only File Properties (Windows)
If the file is marked as read-only at the system level, the "Enable Editing" button will not appear or will not work. You must change the file attributes in Windows Explorer.
- Close the Excel file completely.
- Locate the file in your folder (File Explorer).
- Right-click on the file icon 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."
- Re-open the file in Excel.
Method 3: Removing Read-Only File Properties (macOS)
- Close the Excel file.
- Find the file in Finder.
- Right-click (or Control-click) the file and select "Get Info."
- Under the "Sharing & Permissions" section at the bottom, ensure your user account is set to "Read & Write."
- If it is set to "Read only," click the lock icon at the bottom right, enter your password, and change the permission to "Read & Write."
- Close the Info window and open the file.
Method 4: Disabling "Read-Only Recommended"
Some authors set a flag that suggests the user opens the file as read-only to prevent accidental overwriting of the original data.
- Open the file. If prompted with a message asking if you want to open it as read-only, click "No."
- Once the file is open and editable, go to the "File" menu.
- Select "Save As" (or "Save a Copy").
- Click on "More options..." or "Tools" (located next to the Save button depending on the version).
- Select "General Options."
- Uncheck the box that says "Read-only recommended."
- Click "OK" and save the file over the existing version or as a new file.
Method 5: Handling Shared Cloud Files (OneDrive/SharePoint)
If a file is shared with you via a link, the owner determines your permissions. If you are in view-only mode here, you cannot change it locally.
- Check the top right corner of the Excel window to see if it says "Viewing."
- Click the dropdown arrow next to "Viewing" and select "Editing" if the option is available.
- If "Editing" is greyed out or missing, you do not have the necessary permissions.
- Click the "Request Edit Access" button if available, or contact the file owner via email to ask them to change your permission from "Can view" to "Can edit."
Common Mistakes
One of the most frequent errors is attempting to "Enable Editing" on a file that is actually locked by another user. In a shared network environment, if User A has the file open, User B will be forced into read-only mode. No amount of setting changes will fix this; User A must close the file first.
Another mistake is forgetting to save the file after removing the "Read-only recommended" attribute. If you uncheck that box but simply close the program without saving, the attribute remains embedded in the file metadata, and you will be prompted with the same warning the next time you open it.
Users also often confuse "Protected View" with "Read-Only." Protected View is a security feature for files from the internet. While it looks like read-only mode, it is actually a sandbox. If you cannot click "Enable Editing," it may be because your organization's group policy has disabled the ability to edit files from certain untrusted locations.
Tips
If you are working with a file that you cannot possibly change the permissions for (such as a corporate template), the fastest workaround is to use "Save As." By saving a copy of the file to your own local desktop or personal OneDrive folder, you become the owner of the new copy and can edit it freely without affecting the original source file.
To prevent your own files from being accidentally edited by others, you can use the "Protect Workbook" feature under the "Review" tab. This is different from read-only mode; it allows people to see the data but prevents them from changing the structure of the sheets or the formulas within specific cells.
When sharing files via email, consider converting the Excel sheet to a PDF if you truly want it to be view-only. This removes the temptation for recipients to try and bypass read-only settings and ensures the formatting remains identical across all devices.
Troubleshooting
If you have tried all the steps above and the file remains in view-only mode, try these steps in order:
- Check for File Locks: Ensure the file isn't open in another instance of Excel or by another user on your network. Restart your computer to clear any "ghost" processes that might be holding the file open in the background.
- Check Folder Permissions: Sometimes the file itself is editable, but the folder it sits in is read-only. Right-click the folder containing the file, go to "Properties," and ensure the folder is not marked as read-only.
- Disable Preview Pane: In Windows File Explorer, the "Preview Pane" can sometimes lock a file because the system treats the preview as the file being "open." Go to the "View" tab in File Explorer and turn off the Preview Pane, then try opening the file again.
- Check Antivirus Software: Some aggressive security software blocks editing of files downloaded from the web to prevent ransomware. Temporarily disable your antivirus or add the folder to the "Exclusions" list to see if editing becomes possible.
- Verify Subscription Status: If you are using Microsoft 365, ensure your subscription is active. If your license has expired, Excel enters a "Reduced Functionality Mode," which effectively makes every single file you open view-only until you renew your subscription or sign in with a valid account.
Frequently Asked Questions
Why does my Excel file keep opening in read-only mode?
This usually happens because the file has the "Read-only recommended" attribute set in its general options, or it is stored in a folder with restricted write permissions. It can also happen if the file was downloaded from the internet and is being held in "Protected View" for security.
Can I bypass a password-protected read-only file?
If a file is password-protected for modification, you will be asked for a password upon opening. If you do not have the password, you can still open the file as read-only, but you cannot save changes to the original. Your only option is to "Save As" a new file, which creates a copy that you own and can edit.
Does "Enable Editing" delete any data?
No, clicking "Enable Editing" does not delete or change any data. It simply switches the software from a restricted viewing mode to an active editing mode, allowing you to make changes to the cells.
Why is the "Edit Workbook" button missing?
The button is missing if the file is strictly read-only at the system level (file properties) or if you have been granted "View Only" permissions by a cloud owner. In these cases, Excel knows you aren't allowed to edit, so it doesn't offer the button.
Will changing a file from view-only affect other users?
If you change the file properties on a shared network drive, it will affect everyone who accesses that file. If you use "Save As" to create a local copy, it will not affect anyone else.