Protecting a single worksheet is pretty easy, you simply hover your mouse, right click, and select Protect Sheet. But what happens if you are working on a Excel workbook that has like 50 worksheets and you want to password protect just certain worksheets?

In this tutorial I will show you how to write a simply macro with VBA to password protect and unprotect a group of worksheets in Excel.

VBA Script