To make an Excel file read-only and not editable, use File > Info > Protect Workbook > Mark as Final for a simple, editable-by-anyone-with-a-click warning, or File > Save As > Tools > General Options and tick Read-only recommended (or set a password to modify) for stronger protection. Neither option is true security: anyone who knows how can remove them, so use them to prevent accidental edits, not to lock a file away from someone determined to change it.

What You'll Need

  • Microsoft Excel on Windows or Mac (the desktop app). The web version of Excel does not offer all of these protection options.
  • The file saved somewhere you can write to, such as your own folder or OneDrive.
  • Optional: a password you will remember if you choose password-based protection. A forgotten modify password cannot be recovered by Microsoft.

Step-by-Step

  1. Open the workbook in Excel on your computer.
  2. Click File in the ribbon, then click Info.
  3. Click Protect Workbook, then choose Mark as Final. Click OK on the two confirmation prompts. This flags the file as final, opens it read-only by default, and shows a yellow bar saying editing is disabled.
  4. Save the file. From now on, anyone who opens it sees the read-only banner and must click Edit Anyway to make changes.

If you want a stronger barrier than Mark as Final, use a password instead:

  1. With the workbook open, click File > Save As.
  2. In the Save As dialog, click Tools next to the Save button (on Mac, click Options), then choose General Options.
  3. In the Password to modify box, type a password. Leave Password to open blank unless you also want to stop people opening the file at all.
  4. Tick Read-only recommended if you want Excel to prompt users to open read-only even without a password.
  5. Click OK, re-enter the password to confirm, then click Save. If prompted to replace the existing file, click Yes.

To stop edits to specific sheets while leaving the rest of the workbook editable, right-click the sheet tab, choose Protect Sheet, set an optional password, and click OK. To stop people adding, deleting, or renaming sheets, use Protect Workbook > Protect Structure instead. Menu labels can differ slightly by Excel version, device, and region.

Common Mistakes

  • Confusing Mark as Final with real protection. It is a suggestion, not a lock. Anyone can click Edit Anyway or clear the setting in File > Info.
  • Forgetting the modify password. Microsoft cannot recover it. Keep it in a password manager before you save.
  • Protecting only one sheet. Sheet protection leaves other sheets editable unless you protect each one or protect the workbook structure.
  • Assuming read-only stops copying. It does not. Users can still copy cell contents into another file.
  • Using the web version for protection. Excel for the web has fewer protection options than the desktop app, so set protection on the desktop first.

Tips

  • Use Mark as Final for files you email to colleagues for review; use a modify password when you need to stop casual changes.
  • Store the file in a shared location with version history, such as OneDrive or SharePoint, so you can restore an earlier copy if someone edits it.
  • If you only need to share a snapshot, export to PDF instead: File > Export > Create PDF/XPS. A PDF is much harder to edit than a protected workbook.
  • Keep an unprotected master copy before you apply a password, in case you need to make bulk changes later.

Troubleshooting

  • You cannot find Protect Workbook. Make sure the file is saved and you are in the desktop app, not Excel for the web. On some versions the option sits under File > Info rather than the Review tab.
  • The Edit Anyway button is missing. The file may be opened from a read-only folder, a network share, or an email attachment preview. Save a copy to your own folder and reopen it.
  • You forgot the modify password. There is no official recovery. Open the file read-only, copy the contents into a new workbook, and save that as your new master.
  • Someone edited the file anyway. Mark as Final and read-only recommended can both be overridden. If you need an audit trail, use a shared location with version history and restrict edit permissions at the file-storage level, not just inside Excel.
  • Protection prompts keep appearing. Close and reopen Excel, then check that the file is not syncing mid-save in OneDrive.

Frequently Asked Questions

Does Mark as Final actually stop editing?

No. It opens the file read-only and shows a warning, but any user can click Edit Anyway and change it. Use a modify password for a stronger barrier.

Can someone remove the read-only password?

Not through any official Excel feature. Microsoft does not provide a recovery tool for forgotten modify passwords, so keep the password safe.

Does read-only prevent copying data?

No. Users can still select and copy cells into another workbook. If copying is a concern, share a PDF or an image instead.

Can I make only part of a workbook read-only?

Yes. Protect individual sheets with Protect Sheet, and protect the workbook structure to stop sheets being added, deleted, or renamed.

Will read-only work in Excel for the web?

Some protection carries over, but the web app has fewer options. Apply protection in the desktop app and then upload the file.

What is the difference between read-only recommended and a modify password?

Read-only recommended only prompts the user, who can decline. A modify password requires the password before any edit is allowed.