0% found this document useful (0 votes)
26 views1 page

Unlock VBA4

This VBA code defines a subroutine called unprotected that will run when the VBA project is unprotected. The subroutine contains an if statement that checks if the project is hooked. If so, it will display a message box with the text "VBA Project is unprotected!" and information about the project being unprotected.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views1 page

Unlock VBA4

This VBA code defines a subroutine called unprotected that will run when the VBA project is unprotected. The subroutine contains an if statement that checks if the project is hooked. If so, it will display a message box with the text "VBA Project is unprotected!" and information about the project being unprotected.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Sub unprotected()

If Hook Then
MsgBox "VBA Project is unprotected!", vbInformation, "*****"
End If
End Sub

You might also like