00:00This is how you can protect your VBA projects. Right click on your worksheet, view code. In here,
00:05you're going to scroll all the way up to the Explorer. Right click on the VBA project in
00:09question, VBA project properties, go to protection tab, select this lock project from viewing,
00:15and over here, enter a password, twice the same password. I'm going to say ABC, ABC,
00:21and then click OK. And then press Ctrl S to save and close your workbook completely.
00:25Now, if you reopen your workbook one more time, and then go to right click and view code,
00:31this time around you'll be prompted for a password. We can enter your password ABC again.
00:35Now you can unlock it.
Comments