Astrisks out restricted form entry

R

Ryan Tisserand

I have an open form event that triggers a restricted form in vba.
strPasswd = InputBox("Enter Password", "Restricted Form")
The form is only code, not an actual form. How do I astrisks out the
password that is entered?
 
D

Douglas J. Steele

You can't. The InputBox doesn't have that capability.

You can create a form that has a text box with the appropriate Password
Input Mask, and have it pass the value back to your originating form.
 
R

Ryan Tisserand

That was my next step, i was just hoping that there was a way to change the
..InputMask = "" property on the input box. It really makes zero since to
make a restricted form then, now does it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top