I have a macro below to unprotect all sheets, but ot all the sheets are being unprotected
Kindly amend my code
Code:
Sub UnProtect_Workbook()
Dim sht As Worksheet, xcell As Range
For Each sht In ActiveWorkbook.Sheets
sht.Unprotect
Next
End Sub
Kindly amend my code