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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Closes if Enter is Pressed

Status
Not open for further replies.

PJHAction

Technical User
Aug 22, 2003
29
US
I made a parameter form that works great, but when the enter key is pressed it will close the form.

I would like the OK button (vba routine) activated if the enter/return key is pressed.

Is this easy to do?

Peter
 
Have a look at the Default Property, it should suit. Ensure that the Cancel Property is not set to Yes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top