How to Protect (Lock) a Workbook in Excel

Follow these steps in order to protect a workbook's structure.

  1. Open the "Review" tab

    Click the "Review" tab on the ribbon.

  2. Click "Protect Workbook"

    In the "Protect" group, click "Protect Workbook."

  3. Set a password

    Enter a password to prevent the sheet structure from being changed without authorization.

  4. Protect only a specific sheet

    If you only want to block editing on one particular sheet rather than the whole workbook, use "Protect Sheet" instead.

  5. Why it is useful

    It helps keep data safe by preventing sheets from being accidentally deleted or renamed in a file that several people share.

When a file is shared by many people

If you want to prevent someone from accidentally deleting a sheet or renaming it in a file the whole team views, Protect Workbook keeps the structure safe.

Removing duplicates is worth checking too

Once a shared file is protected against structural changes, it is also worth periodically checking it for duplicate entries to keep the data itself clean and reliable.

Frequently Asked Questions

Does protecting the workbook also prevent editing cell contents?

No β€” Protect Workbook blocks structural changes like adding, deleting, or reordering sheets; to prevent editing cell contents, you need to set up "Protect Sheet" separately.

If I forget the password, can protection be removed?

Generally no β€” there is no built-in recovery method by default, so be sure to store any password you set somewhere safe.