Problem with password security
My concern will be if the password is "" and OK is pressed
instead of CANCEL, how will we be able to distinguish the two events?
Sub test2()
Dim S As String
S = InputBox("Talk:")
If StrPtr(S) = 0 Then
MsgBox "Cancelled"
Else
MsgBox "You said """ & S & """"
End If
End Sub
HTH. Best wishes Harald
|