![]() |
protect worksheet with check box
Hello
I added a check box using the control tool box. Then in the sheet code I added the following Private Sub CheckBox1_Click() Rows("1:68").Select ActiveSheet.Protect "pass" ActiveSheet.Unprotect "pass" End Sub This is what Im trying to do when the check box is selected or checked then rows 1 thru 68 will be protected else if the checked box is uncheck sheet is unprotected thanks in advance |
All times are GMT +1. The time now is 10:43 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com