Log in Form Macro (1 Viewer)

KevlarKev

Registered User.
Local time
Today, 10:20
Joined
Jan 16, 2013
Messages
26
Hi all,

Does anyone know an easy way to use the enter key to automatically run a macro?

I have a login form which works fine. However, at the moment the user needs to type in username and password and then manually click on a 'log in' button. What I would like to happen is that if the user presses enter on the keyboard it will run the same macro as the log in button but without have to click on it?

Thanks guys!

Kevin.
 

Cotty42

Registered User.
Local time
Today, 18:20
Joined
Feb 27, 2014
Messages
102
You could use the After Update Event on the Password text box to call the macro
 

KevlarKev

Registered User.
Local time
Today, 10:20
Joined
Jan 16, 2013
Messages
26
Works like a charm!

Thanks Cotty.
 

Users who are viewing this thread

Top Bottom