ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Require a password to execute a macro (https://www.excelbanter.com/excel-programming/359302-require-password-execute-macro.html)

Rjeffay

Require a password to execute a macro
 

After some searching Have found code examples to accomplish this with a
inopuit box. But the password is not hidden when entered. I believe
user form would accomplish this, buty i am clueless as to how to writ
the code for a password required which is hidden by characters such a
asteriks. Any help would be appreciated.


ti

--
Rjeffa
Posted from - http://www.officehelp.i


RB Smissaert

Require a password to execute a macro
 
Look at the property: PasswordChar of the textbox control.
Make it something like * and it will do exactly what you want.

RBS

"Rjeffay" wrote in message
...

After some searching Have found code examples to accomplish this with an
inopuit box. But the password is not hidden when entered. I believe a
user form would accomplish this, buty i am clueless as to how to write
the code for a password required which is hidden by characters such as
asteriks. Any help would be appreciated.


tia


--
Rjeffay
Posted from - http://www.officehelp.in



Rjeffay[_2_]

Require a password to execute a macro
 

the "code" is the macro. ineed a setup which will not allow a macro t
run unless a password is entered. But I need the password to onl
display astericks when entered. I am not knowlegable to create this.
am looking for some help which I could just put into excel

--
Rjeffa
Posted from - http://www.officehelp.i


RB Smissaert

Require a password to execute a macro
 
I still don't understand what the precise problem is.
I am sure it is something simple to solve, but you will have to explain
better what exactly you are trying to do.

RBS

"Rjeffay" wrote in message
...

the "code" is the macro. ineed a setup which will not allow a macro to
run unless a password is entered. But I need the password to only
display astericks when entered. I am not knowlegable to create this. I
am looking for some help which I could just put into excel.


--
Rjeffay
Posted from - http://www.officehelp.in




All times are GMT +1. The time now is 05:21 PM.

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