How do I made a command perform when the enter button his hit?
Thanks
Printable View
How do I made a command perform when the enter button his hit?
Thanks
Like when your typing in a textbox?
in the KeyPress event:
If KeyAScii = 13 then
'do code
end if
yes, thanks
how about in a form??
thats capture the "enter" key being pressed??
if its for a form:
set the KeyPreview to true
then stick it in the KeyPress event
;)
thanks tghis is just for future reference!