Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub Sunselect()
Dim PassStr As String PassStr = InputBox("Enter Password Please", "My Password Prompt") If PassStr = "Manager" Then Sheets("Sun").Select Range("A11").Select Else MsgBox "Wrong Password Entered" End If End Sub Am currently using this to ask for a password before allowing people to view the sheet, but would prefer to use a usrform, i know how to creat and asign the form, but am not sure of the exact text as fairly new to userforms, Prefer to have password char as ******** when typed and have been told this is not possible with input box. Any help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
develop a macro which takes password protection on and off | Excel Discussion (Misc queries) | |||
Error when save as CSV with VBA password protection on | Excel Discussion (Misc queries) | |||
Protect Workbook vs Worksheet?? | Excel Worksheet Functions | |||
Password Issue | Excel Discussion (Misc queries) | |||
Password cannot be removed | Excel Discussion (Misc queries) |