Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UserForm Question

Status
Not open for further replies.

vestax22

Programmer
Jun 18, 2003
139
CA
Hi, I have a simple userform to input a password. This is what I want it to do. When this userform is loaded the txtbox that will contain the inputted password has to be activated so that the user doesn't have to click on it before inputting.

I know I could do this with setfocus but here's the other problem. I want the user to be able to enter the password and press enter once to close the form so I need the OK button to be focused on as well as the textbox.

Does anybody know how to do this? I jut want a standard password entry form. Thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top