Video Protect Worksheets And Workbooks. That may not make sense at first but what it means is the cells are ready to be locked when you protect the workbook or worksheet. Protecting a worksheet is not the same as protecting an Excel file or a workbook with a password.

How it works Protect a Worksheet on Workbook CloseThis code is triggered by the workbooks BeforeClose event. You can also protect individual worksheets from editing. Protect a workbook that is part of a document-level customization To protect a workbook.
Protecting your worksheet means that no one can edit reformat or delete the content.
Protecting an Entire Worksheet. The following code examples use a variable to contain a password that is obtained from the user. See below for more information. On the Review tab see the Protect Workbook icon.