smittal
Member
Dear All,
i had tried to get the result through search option but not get the extact answer what i am looking for.
refer below mention code, whenever i entered my password, it shows the exact words, (what my password is) in Input option, but i want it should show the "*******....." instead of the same characters. (Currently my password option make no sense) code is:-Sub master()
' Keyboard Shortcut: Ctrl+j
Dim scon As String
Dim con As New ADODB.Connection
Dim rs As New Recordset
Dim lctr As Long
Dim ans As String
Dim unm As String
Dim start As Range
Dim Message As String, Title As String, Default As String, MyValue As String
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Message = "Access by sanchit only" & Chr(10) & Chr(10) & "Please Enter the Password" ' Set prompt.
Title = "Sales Dashboard of Internet Moguls...." ' Set title.
Default = "Please Enter the Password" ' Set default.
' Display message, title, and default value.
MyValue = InputBox(Message, Title, Default)
I f MyValue = "babbar" Then
Executable code
End if
Many thanks in advance for same.
i had tried to get the result through search option but not get the extact answer what i am looking for.
refer below mention code, whenever i entered my password, it shows the exact words, (what my password is) in Input option, but i want it should show the "*******....." instead of the same characters. (Currently my password option make no sense) code is:-Sub master()
' Keyboard Shortcut: Ctrl+j
Dim scon As String
Dim con As New ADODB.Connection
Dim rs As New Recordset
Dim lctr As Long
Dim ans As String
Dim unm As String
Dim start As Range
Dim Message As String, Title As String, Default As String, MyValue As String
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Message = "Access by sanchit only" & Chr(10) & Chr(10) & "Please Enter the Password" ' Set prompt.
Title = "Sales Dashboard of Internet Moguls...." ' Set title.
Default = "Please Enter the Password" ' Set default.
' Display message, title, and default value.
MyValue = InputBox(Message, Title, Default)
I f MyValue = "babbar" Then
Executable code
End if
Many thanks in advance for same.