Microsoft Office Tutorials and References
In Depth Information
Try It
“Thank you. Please click OK to unprotect the worksheet.”, _
vbInformation, _
“You entered the correct password!!”
ActiveSheet.Unprotect “hello”
‘End the If structure that determined if the InputBox entry
‘matched the password “hello”.
End If
‘End the Select Case structure for the users to confirm their intention
‘of unprotecting the worksheet.
End Select
End Sub
To view the video that accompanies this lesson, please select Lesson 8, available at
the following website: www.wrox.com/go/excelvba .
Search JabSto ::




Custom Search