G
Guest
i had posted an earlier question about how to open a worksheet and not being able to select unlocked cells. i was given this code
Option Explici
Sub auto_open(
With Worksheets("sheet1"
.Unprotect Password:="hi
.EnableSelection = xlUnlockedCell
.Protect Password:="hi
End Wit
End Su
it works good. however only for one sheet, the other sheets on the workbook dont get protected, ive tried many different methods but cannot get it
Option Explici
Sub auto_open(
With Worksheets("sheet1"
.Unprotect Password:="hi
.EnableSelection = xlUnlockedCell
.Protect Password:="hi
End Wit
End Su
it works good. however only for one sheet, the other sheets on the workbook dont get protected, ive tried many different methods but cannot get it