Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Replace password with *** in input box, xlVeryHidden
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="John_J, post: 6345082"] Here is the end result for the un-hide operation: 'In the sheet where I have the button to call the UserForm: Private Sub CommandButton1_Click() Password.Show End Sub 'The UserForm Cancel button: Private Sub CancelButton_Click() Unload Me End Sub 'The UserForm OK button: Private Sub OKButton_Click() If TextBox1.Text <> "secret" Then MsgBox "Invalid Password" Exit Sub ElseIf TextBox1.Text = "secret" Then Worksheets("Sheet2").Visible = True Worksheets("Sheet1").Visible = True Worksheets("Sheet1").Activate Unload Password End If End Sub The UserForm has a TextBox with TextBoxCharter set to "*", and the form is called "Password" -- John [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Replace password with *** in input box, xlVeryHidden
Top