Private Sub cmdOK_Click() If txtPasswort.Text = "Paßwort" Then MsgBox "Alles klar!" Unload Me Else MsgBox "War wohl nix!" txtPasswort.Text = "" txtPasswort.SetFocus End If End Sub