Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
password as ********
Am using the code below to stop general admin staff from accessing a
sheet with data, but would like the password to be shown only as ******* is there VB code for this???? Any help please Sub Password() Dim PassStr As String PassStr = InputBox("Enter Password to Continue", "My Password Prompt") If PassStr = "Manager" Then Sheets("Sun").Select Range("A11").Select Else MsgBox "Wrong Password Entered" End If End Sub Steve |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
password as ********
see
http://groups-beta.google.com/group/...db7b7e395e84a7 On Jan 10, 1:56 pm, "K1KKKA" wrote: Am using the code below to stop general admin staff from accessing a sheet with data, but would like the password to be shown only as ******* is there VB code for this???? Any help please Sub Password() Dim PassStr As String PassStr = InputBox("Enter Password to Continue", "My Password Prompt") If PassStr = "Manager" Then Sheets("Sun").Select Range("A11").Select Else MsgBox "Wrong Password Entered" End If End Sub Steve |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
password as ********
You have other replies to your other posts.
K1KKKA wrote: Am using the code below to stop general admin staff from accessing a sheet with data, but would like the password to be shown only as ******* is there VB code for this???? Any help please Sub Password() Dim PassStr As String PassStr = InputBox("Enter Password to Continue", "My Password Prompt") If PassStr = "Manager" Then Sheets("Sun").Select Range("A11").Select Else MsgBox "Wrong Password Entered" End If End Sub Steve -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
PASSWORD REMOVAL I have the password to open the file and the password to modify the file now how to remove them | Excel Programming | |||
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. | Excel Worksheet Functions | |||
bypass password when update linking of password protected file | Excel Discussion (Misc queries) | |||
Comparing password entry vs stored password - 2003 | Excel Programming | |||
Excel password but cant hide the sheets before entering password | Excel Programming |