Protect A Workbook - Microsoft Support

Skip to main content Sign in with Microsoft Sign in or create an account. Hello, Select a different account. You have multiple accounts Choose the account you want to sign in with. Excel Print and share Share files Share files Protect a workbook Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016 WindowsmacOSWeb

To prevent other users from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets, you can protect the structure of your Excel workbook with a password.

Notes: Protecting the workbook is not the same as protecting an Excel file or a worksheet with a password. See below for more information:

  • To lock your file so that other users can't open it, see Protect an Excel file.

  • To protect certain areas of the data in your worksheet from other users, you have to protect your worksheet. For more information, see Protect a worksheet.

  • To know the difference between protecting your Excel file, workbook, or a worksheet, see Protection and security in Excel.

Protect the workbook structure

To protect the structure of your workbook, follow these steps:

  1. Click Review > Protect Workbook.

    Protect Workbook Dialog Box
  2. Enter a password in the Password box.

    Important: The password is optional. If you do not supply a password, any user can unprotect and change the workbook. If you do enter a password, make sure that you choose a password that is easy to remember. Write your passwords down and store them someplace safe. If you lose them, Excel cannot recover them for you.

  3. Select OK, re-enter the password to confirm it, and then select OK again.

How can I tell if a workbook is protected?

On the Review tab , see the Protect Workbook icon. If it’s highlighted, then the workbook is protected.

Protect Workbook Highlighted

If you click on the bottom of a sheet inside your workbook, you will notice that the options to change the workbook structure, such as Insert, Delete, Rename, Move, Copy, Hide, and Unhide sheets are all unavailable.

Functions will be unavailable when workbook protection is enabled

The Protect Workbook option in the Info menu also indicates that the workbook's structure is protected. To view this option, click File > Info > Protect Workbook.

Protect Workbook under the Info menu

Unprotect an Excel workbook

Click Review > Protect Workbook. Enter the password and then click OK.

To prevent other users from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets, you can protect the structure of your Excel workbook with a password.

Notes: Protecting the workbook is not the same as protecting an Excel file or a worksheet with a password. See below for more information:

  • To lock your file so that other users can't open it, see Protect an Excel file.

  • To protect certain areas of the data in your worksheet from other users, you have to protect your worksheet. For more information, see Protect a worksheet.

  • To know the difference between protecting your Excel file, workbook, or a worksheet, see Protection and security in Excel.

Protect the workbook structure

To protect the structure of your workbook, follow these steps:

  1. Click Review > Protect Workbook.

  2. Enter a password in the Password box.Protect Structure and Windows MacOS

    Important: 

    • The password is optional. If you do not supply a password, any user can unprotect and change the workbook. If you do enter a password, make sure that you choose a password that is easy to remember. Write your passwords down and store them someplace safe. If you lose them, Excel cannot recover them for you.

    • Passwords in Excel for Mac have a 15-character limit. You cannot open a workbook or document that has been password-protected in the Windows-based version of Excel or if the password is longer than fifteen characters. If you want to open the file in Excel for Mac, ask the Windows-based author to adjust the password length.

  3. Retype the password and click OK.

How can I tell if a workbook is protected?

On the Review tab , see the Protect Workbook icon. If it’s highlighted, then the workbook is protected.

Protect Workbook Highlighted in MacOS

If you click on the bottom of a sheet inside your workbook, you will notice that the options to change the workbook structure, such as Insert, Delete, Rename, Move, Copy, Hide, and Unhide sheets are all unavailable.

Protect Workbook menu unavailable MacOS

Unprotect an Excel workbook

Click Review > Protect Workbook. Enter the password and then click OK.

Unprotect an Excel worksheet

To unprotect a sheet, follow these steps:

  1. Go to the worksheet you want to unprotect.

  2. Go to File > Info > Protect > Unprotect Sheet, or from the Review tab > Changes > Unprotect Sheet.

  3. If the sheet is protected with a password, then enter the password in the Unprotect Sheet dialog box and click OK.

Excel for the web can open and edit workbooks protected by a password. Passwords can’t be added, changed, removed, or recovered from Excel for the web.

If you want to add a password to a workbook you are working on in Excel for the web, and you have Excel desktop application, use the Open in Excel button to open the workbook and password protect the workbook. But going forward, you’ll only be able to view the file on web -- to make changes to the workbook, open it in your desktop version of Excel. 

  • Select Open in Excel and password protect the workbook.

Button to Edit in Excel

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

See Also

Protection and security in Excel

Protect an Excel file

Protect a worksheet

Collaborate on Excel workbooks at the same time with co-authoring

Facebook LinkedIn Email

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Microsoft 365 subscription benefits

Microsoft 365 training

Microsoft security

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Ask the Microsoft Community

Microsoft Tech Community

Windows Insiders

Microsoft 365 Insiders

Was this information helpful?

Yes No (Send feedback to Microsoft so we can help.) What affected your experience? Resolved my issue Clear instructions Easy to follow No jargon Pictures helped Other Didn't match my screen Incorrect instructions Too technical Not enough information Not enough pictures Other Any additional feedback? (Optional) Submit feedback By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×

Từ khóa » Cách Bỏ Protect Workbook Trong Excel 2016