To make a shared Excel workbook read-only, you can either set a "Read-Only Recommended" flag or use a password to restrict editing. This achieves a state where users are prompted to open the file without making changes, preventing accidental data entry or formula deletion while still allowing authorized users to edit the file if they have the password or choose to ignore the recommendation.

What You'll Need

  • A computer with Microsoft Excel installed.
  • The Excel workbook you wish to protect.
  • Administrative access to the file (you must have permission to save changes to the file).

Step-by-Step

Depending on your goal, there are two primary ways to handle this. Note that menu labels may differ slightly based on your version of Excel, device, or region.

Method 1: Read-Only Recommended (Soft Restriction)

Use this method if you want to warn users that the file should not be edited, but you don't want to lock them out entirely.

  1. Open the Excel workbook you want to set as read-only.
  2. Click on the File tab in the top-left corner of the ribbon.
  3. Select Save As from the left-hand menu.
  4. Choose the location where you want to save the file (e.g., Browse or a specific folder).
  5. In the Save As dialog box, look for the Tools button located next to the Save button at the bottom.
  6. Click Tools and select General Options from the dropdown menu.
  7. Check the box labeled Read-only recommended.
  8. Click OK.
  9. Click Save to apply the changes. If the file already exists, click Yes when asked if you want to replace the existing file.

Method 2: Password to Modify (Hard Restriction)

Use this method to ensure that only people with a specific password can make changes to the shared workbook.

  1. Open the Excel workbook.
  2. Click on the File tab.
  3. Select Save As and click Browse to open the save dialog.
  4. Click the Tools button at the bottom of the window and select General Options.
  5. Leave the "Password to open" box blank if you want anyone to be able to view the file.
  6. Enter a password in the Password to modify box.
  7. Click OK, and you will be prompted to re-enter the password to confirm it.
  8. Click Save and confirm the replacement of the existing file.

Method 3: Using Windows File Properties (OS Level)

This method makes the file read-only for everyone on a local drive or network share, regardless of Excel settings.

  1. Close the Excel workbook if it is currently open.
  2. Locate the file in File Explorer.
  3. Right-click on the file and select Properties.
  4. Under the General tab, find the Attributes section at the bottom.
  5. Check the box labeled Read-only.
  6. Click Apply and then OK.

Common Mistakes

  • Forgetting the Password: If you use the "Password to modify" method, Microsoft cannot recover the password for you. If it is lost, the file will remain read-only for everyone.
  • Confusing "Read-Only" with "Protected Sheet": Making a workbook read-only prevents the entire file from being saved over. Protecting a sheet (via the Review tab) allows users to open the file but prevents them from editing specific cells.
  • Saving a Copy Instead of the Original: When using the "Save As" method, ensure you are overwriting the shared version of the file rather than creating a new local copy that others cannot see.
  • Assuming Windows Properties Work on Cloud Drives: Setting a file to "Read-only" via Windows File Properties may not sync correctly if the file is hosted on OneDrive or SharePoint; use Excel's internal settings for cloud-based files.

Tips

  • Use "Read-Only Recommended" for Templates: If you have a shared calculator or tracker that users should save as their own separate copy, the "Read-only recommended" setting is the best way to signal this.
  • Combine with Sheet Protection: For maximum security, use a "Password to modify" for the workbook and then use the Review > Protect Sheet option to lock specific formulas while leaving input cells open.
  • Communicate the Password: If using a password to modify, share the password via a secure channel (like a password manager) rather than typing it in an email.

Troubleshooting

If the workbook is still editable or won't go into read-only mode, try the following:

  • Check for Co-authoring: If the file is saved on OneDrive or SharePoint and "AutoSave" is on, Excel's modern co-authoring features may override traditional read-only settings. To restrict editing in the cloud, use the Share button > Manage Access and change the permissions to "Can view" instead of "Can edit."
  • Verify File Ownership: If you are using the Windows File Properties method, ensure you have the necessary administrative permissions to change file attributes on that specific folder or network drive.
  • Restart Excel: Sometimes a "ghost" session of the file remains open in the background, making Excel think the file is locked by another user. Close all Excel windows and try again.
  • Check for "Protected View": If a file opens as read-only automatically without you setting it, it may be because it was downloaded from the internet. Click "Enable Editing" in the yellow bar at the top to enter the file.

Frequently Asked Questions

Can I make only some parts of the workbook read-only?

No, the "Read-only" setting applies to the entire file. To restrict specific cells or sheets, use the Review > Protect Sheet or Protect Workbook options.

Does "Read-only" prevent people from seeing my data?

No. Read-only means they cannot save changes to the original file. They can still see all data and formulas. To hide data, you must use a "Password to open" in the General Options menu.

What happens if a user clicks "Edit Anyway" on a read-only recommended file?

They can make changes to the file in their current session. However, when they try to save, Excel will prevent them from overwriting the original file and will force them to save a new version with a different name.

How do I remove the read-only restriction?

Follow the same steps used to set it up. Go to File > Save As > Tools > General Options and uncheck "Read-only recommended" or clear the "Password to modify" field, then save the file.

Will this work on Excel for Web?

The "General Options" menu is a feature of the Excel desktop application. To achieve a similar result in Excel for Web, use the Share menu to set permissions to "Can view" for your collaborators.