ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Using a macro for a user-entry password - hiding the entry (https://www.excelbanter.com/excel-programming/440346-using-macro-user-entry-password-hiding-entry.html)

Eddie Kirby

Using a macro for a user-entry password - hiding the entry
 
Is there a good way to hide the password entry when it is entered by a
user?

I have written a program which requires a password to make changes.
However, when a password is entered (example: XxBNB77T), the pass
word appears instead of **********.

Is there anyway to hide the password when it is being entered.

Per Jessen[_2_]

Using a macro for a user-entry password - hiding the entry
 
Set up a userform, where user can enter the password in a TextBox. Use
* as PasswordChar in the Textbox properties.

Hopes this helps.
....
Per

On 8 Mar., 02:56, Eddie Kirby wrote:
Is there a good way to hide the password entry when it is entered by a
user?

I have written a program which requires a password to make changes.
However, when a password is entered (example: *XxBNB77T), the pass
word appears instead of **********.

Is there anyway to hide the password when it is being entered.



Dave Peterson

Using a macro for a user-entry password - hiding the entry
 
You can use a textbox on a userform to get the info. The textbox has a
..PasswordChar property that can be used to hide the real password.

Eddie Kirby wrote:

Is there a good way to hide the password entry when it is entered by a
user?

I have written a program which requires a password to make changes.
However, when a password is entered (example: XxBNB77T), the pass
word appears instead of **********.

Is there anyway to hide the password when it is being entered.


--

Dave Peterson


All times are GMT +1. The time now is 01:32 PM.

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