I have a workbook with several worksheets. While an InputBox is being displayed, I want the user to be able to click on another worksheet tab without first clicking the Cancel button on the InputBox. Is there a way to do that?
Here is the present code:
Private Sub Worksheet_Activate()
Dim strPassword As String
Do
strPassword = InputBox(Prompt:="Enter password for Instructions", Title:="Enter Password for Instructions")
If strPassword = "" Then Exit Sub
Loop Until strPassword = "instructions"
End Sub
Here is the present code:
Private Sub Worksheet_Activate()
Dim strPassword As String
Do
strPassword = InputBox(Prompt:="Enter password for Instructions", Title:="Enter Password for Instructions")
If strPassword = "" Then Exit Sub
Loop Until strPassword = "instructions"
End Sub