my code is below, I just need to understand how to mask the password entered as *******? just to stop other users seeing it next to me.
thanks in advance
Sub Openall()
Dim password As Variant
password = Application.InputBox("Enter Password", "Password Protected")
Select Case password
Case Is = False
'do nothing
Case Is = "Password"
Worksheets("1").Visible = True
Worksheets("2").Visible = True
Worksheets("3").Visible = True
Worksheets("4").Visible = True
Case Else
MsgBox "Incorrect Password"
End Select
End Sub
thanks in advance
Sub Openall()
Dim password As Variant
password = Application.InputBox("Enter Password", "Password Protected")
Select Case password
Case Is = False
'do nothing
Case Is = "Password"
Worksheets("1").Visible = True
Worksheets("2").Visible = True
Worksheets("3").Visible = True
Worksheets("4").Visible = True
Case Else
MsgBox "Incorrect Password"
End Select
End Sub