I have this command:
Private Sub Command3_Click()
I would like the option to be to Click the button or hit the enter key on the keyboard. What do I need to add so when I hit Enter it is the same as clicking the button?
Thanks.
I have this command:
Private Sub Command3_Click()
I would like the option to be to Click the button or hit the enter key on the keyboard. What do I need to add so when I hit Enter it is the same as clicking the button?
Thanks.
If the button has focus, hitting enter will have the same effect as clicking anyway. Or are you looking for the Default property of the button?
Thanks, I figured it out.