Good morning dear wizards.
Can I please get some guidance on this dilemma?
I want to run the code below ONLY on worksheets whose names DO NOT START with "ULT".
Some tab names are all letters, numbers, or both letters and numbers. Is there a way to do that please?
Can I please get some guidance on this dilemma?
I want to run the code below ONLY on worksheets whose names DO NOT START with "ULT".
Some tab names are all letters, numbers, or both letters and numbers. Is there a way to do that please?
Code:
Sub UNprotect_All_Sheets()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Unprotect Password:="adminf18"
Next ws
End Sub