Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
The following code works fine but the password "secret" is visible as I type. How can I hide it? Can I hide it by putting a label or another box on top of the password input box? I believe it is not possible to hide charters inside an input box... Private Sub CommandButton1_Click() pwd = "secret" i_pwd = InputBox("Please Enter Password to Unhide Sheet", "Unhide Sheet") Select Case i_pwd Case pwd Worksheets("Sheet1").Visible = True Worksheets("Sheet2").Visible = True Worksheets("Sheet2").Activate Case Else MsgBox "Incorrect password; no action taken.", vbInformation, "Unhide Sheet..." End Select End Sub -- Thanks John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Xlveryhidden | Excel Discussion (Misc queries) | |||
opposite of XLVeryhidden!! | Excel Programming | |||
XLVERYHIDDEN | Excel Programming | |||
xlVeryHidden Resolution | Excel Programming | |||
Doing something wrong - xlVeryHidden | Excel Programming |