cbdsolutions
Programmer
What are the codes to detect that a VBA project associated with an Excel Workbook is unprotected and what are the codes to delete subs within each modules and object sheets?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function ProtectedCode(WB As Workbook) As Boolean
ProtectedCode = WB.VBProject.Protection
End Function