(Solved) – How to create code to detect if any Sheet is protected?

  • by
(solved)-–-how-to-create-code-to-detect-if-any-sheet-is-protected?

Below is the logic of my code:

If  Then
   Msgbox "There's some sheets protected"
else
   Msgbox "No sheets are protected"
end if

Leave a Reply

Your email address will not be published. Required fields are marked *