ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hide password in the InputBox (https://www.excelbanter.com/excel-programming/295612-re-hide-password-inputbox.html)

Robin Hammond[_2_]

Hide password in the InputBox
 
SK,

Instead of using an inputbox, use a custom form with two text boxes and an
OK button. In the VBE you can set a password character for one of the text
boxes in the properties pane and it will mask the user entry.

Robin Hammond
www.enhanceddatasystems.com

"SKTing" wrote in message
...
Pls help to insert any statement to the following Sub to hide the input

password in the InputBox. Thank a lot

Sub Fast_Update()
UserNameStr = InputBox("Key in SiView user ID")
PasswordStr = InputBox("Key in SiView password")
If UserNameStr = "" Then Exit Sub
If PasswordStr = "" Then Exit Sub
Call Update_Lot_Status(1, True, False)
End Sub




Ivan F Moala[_3_]

Hide password in the InputBox
 
If you must use an Inputbox then see here for 2 ways to accomplish this.

http://www.xcelfiles.com/API_09.html
or
http://www.danielklann.com/


All times are GMT +1. The time now is 12:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com