To lock an Excel workbook in read-only mode so users can’t modify it, use one of three simple methods: native Excel protections, password-based locking, or cloud-based sharing settings. This achieves protection by restricting write access while preserving all data during sharing, collaboration, or distribution. No advanced technical knowledge is needed—even non-technical users can apply these methods instantly. If the file is shared via email or shared drives, the read-only setting remains active even after recipients download or open it. For shared workbooks used in teams, this prevents accidental overwrites or unintended edits that could corrupt spreadsheets.

What You'll Need

  • A computer running Microsoft Excel (Excel 365, Excel 2019, or Excel 2016). Newer versions of Excel include more robust protection features.
  • Administrator or "Me" permissions on the computer—you must be the workbook’s owner or have full access rights to change its properties.
  • If using password protection, you’ll need to memorize or record the password (or export it securely).
  • Internet connection (only required for cloud-based methods like OneDrive or SharePoint).

Step-by-Step

  1. Open the Excel workbook. If it’s on a shared drive or network, ensure you have the correct permissions to edit it. If permissions are insufficient, you’ll need to contact the file owner to grant you editing rights or request a copy of the file.
  2. Go to the Review tab in the Excel ribbon. The Review tab contains options for locking and protecting worksheets and workbooks.
  3. Method 1: Lock the Workbook Itself (Recommended for Cloud Sharing)

    1. Click Protect Sheet in the Review tab. This doesn’t lock the entire workbook—it only restricts editing within the sheet.
    2. Select the sheet you want to protect by clicking its tab at the bottom of the window. Then click Protect Sheet again.
    3. In the Protect Sheet dialog, choose which actions you want to allow or block, such as formatting, deleting rows/columns, or adding new sheets. Click OK.

    This method locks the sheet but does not restrict users from editing other sheets or the workbook’s structure. For full workbook protection, use Method 2 below.

    Method 2: Password-Protect the Entire Workbook

    1. Go to the Review tab and click Protect Structure and Windows. This ensures users cannot add, delete, or rearrange sheets or change workbook layout.
    2. Enter a password in the dialog box and click OK. Save this password securely—losing it will unlock the file entirely.

    Method 3: Set Workbook Open Protection (No Password Needed)

    1. Click the Review tab and select Unprotect Workbook. If this option isn’t visible, ensure you’re on a worksheet (click a tab to switch).
    2. In the Unprotect Workbook dialog, enter the password if prompted (use an empty password for no password protection). Click OK. This reveals the Protect Workbook option.
    3. Click Protect Workbook again and choose which actions to restrict (e.g., editing cells, formatting, or hiding/showing sheets). Click OK.

    Method 4: Use Cloud Sharing (OneDrive/SharePoint)

    1. If the workbook is saved in OneDrive or SharePoint, open your browser and go to the file’s location. Click the file’s name to open it in Excel Online.
    2. Click the Share button (top-right) and select Advanced... next to the recipient’s email.
    3. In the sharing settings, choose Restricted or Anyone with the link (No Access). This forces users to open the file in read-only mode by default.
    4. Click Send. Users who open the file will see a prompt: “This file is opened in read-only mode.” They can still edit it, but the owner must manually change the sharing settings if they want write access.

Common Mistakes

  • Forgetting to save the file after applying protection: Always save the workbook after setting read-only permissions. Unsaved changes will be lost if you exit without saving.
  • Using the wrong password: If you enter an incorrect password when unlocking, the file will remain locked until you enter the correct one. Write down the password immediately after setting it.
  • Skipping the "Protect Structure" step: Without locking the workbook’s structure, users can add new sheets, delete existing ones, or change the file’s layout. This method only protects the content of the sheets.
  • Assuming cloud sharing is enough: OneDrive/SharePoint’s “Restricted” setting forces read-only mode only if the user opens the file in Excel Online or the desktop app with a specific prompt. If they copy the file locally, they can bypass the read-only setting. For true cloud protection, use one of the first three methods.

Tips

  • Test the protection before sharing: Open the file in another user’s account (e.g., a friend or colleague) to verify it remains read-only. If they can edit it, check that you’ve followed all steps correctly, especially for password protection.
  • Use a blank password for simplicity: If you don’t need a password, leave the field empty when unlocking the workbook. This makes the file instantly read-only without requiring a password.
  • Backup the file before making changes: If you’re editing the original file to apply protection, save a backup copy first. This prevents data loss if something goes wrong.
  • Share the file in read-only mode: If sending via email or shared drives, ensure the recipient knows to open the file in read-only mode (Excel will prompt them). For example, tell them to right-click the file and select Open With > Microsoft Excel (Read-Only Mode).
  • Consider version control: For shared workbooks, use Excel’s version history (available in Excel 365) to track changes. This adds an extra layer of security without requiring read-only mode.
  • For sensitive data, use encryption: If the workbook contains highly confidential information, encrypt it before sharing. Go to File > Info > Protect Workbook > Encrypt with Password and add a password. This ensures the file is unreadable even if the user gains access to the file itself.

Troubleshooting

  1. The workbook won’t unlock with the password: Double-check that you entered the password correctly. If you’re unsure, try deleting the password from the Protected Workbook dialog (leave it blank) and click OK again. If you forget the password, you’ll need to use a third-party tool to recover it—this is not recommended and may risk corrupting the file. Instead, contact the file owner to reset it.
  2. The file opens in edit mode despite protection: This often happens because the file was opened in another version of Excel (e.g., Excel 2010 vs. Excel 365). Ensure both you and the recipient are using the same version of Excel. If possible, distribute the file as a PDF or use OneDrive’s Anyone with the link setting (with restricted access).
  3. Users can still delete sheets or change structure: Ensure you selected Protect Structure and Windows in the Review tab. This locks the workbook’s layout and prevents users from modifying its structure.
  4. Cloud sharing isn’t enforcing read-only mode: OneDrive/SharePoint’s default sharing settings may not always enforce read-only mode. For guaranteed protection, use one of the first three methods (e.g., password-protect the workbook or use Excel’s sheet protection).
  5. Excel keeps asking for a password when opening the file: This could mean the file is corrupted or improperly saved. Try:
    1. Right-click the file > Open With > Choose another app > Microsoft Excel and check Always use this app to open this file type.
    2. Save the file as a new copy (right-click > Save As > choose a new location).
    3. Open the file in a different version of Excel (e.g., Excel 365 vs. Excel 2019).

Frequently Asked Questions

Can I make the entire workbook read-only without a password?

Yes. Use Excel’s Protect Workbook feature (via the Review tab) and leave the password field blank. This restricts editing unless the user enters the correct password.

What if I forget the password for my read-only workbook?

If you’ve lost the password, you cannot unlock the file without a third-party tool, which may corrupt it. Contact the file owner to reset it or use a backup copy.

How do I share a read-only Excel file with someone who doesn’t have Excel?

Convert the file to a PDF or use OneDrive’s Restricted sharing setting. Users can open it in any viewer (e.g., Adobe Acrobat) and cannot modify it.

Can I protect a shared folder containing multiple Excel workbooks?

No. Read-only protection applies to individual files, not folders. To enforce read-only rules company-wide, use enterprise-level security tools (e.g., Microsoft Power Platform or IT policies).

Why does my read-only workbook still allow editing?

Possible reasons:
  • The file was opened in a different version of Excel (e.g., 2016 vs. 365).
  • The recipient right-clicked the file and chose Open instead of Open With > Microsoft Excel (Read-Only Mode).
  • The file was copied locally and bypassed cloud restrictions.

How do I remove read-only protection if I need to edit it later?

Open the workbook, go to the Review tab, click Unprotect Workbook, and enter the password if prompted. If you used a blank password, leave it empty.