Submiting A Excel using enter

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
Hi,

please be more specific ?
are ou talking about a userform ?
by "submit" do you mean pressing an OK-button to perform some operations ?

kind regards,
Erik
 

sebhughes

New Member
Joined
Sep 21, 2006
Messages
20
I have a form and i want the enter data button to be activate by the enter key. So say the form is all filled in, when they press enter it will send the data to where it shoudl go.
 

erik.van.geit

MrExcel MVP
Joined
Feb 1, 2003
Messages
17,832
you can set the taborder

example
userform: 2 textboxes + 1 commandbutton

fill in textbox1
press TAB (going to textbox2)
fill in textbox2
press TAB (going to commandbutton)
press ENTER while your commandbutton is active

you might want to take a look at TABORDER
(rightclick your userform, see last option)
 

Forum statistics

Threads
1,171,729
Messages
5,877,155
Members
433,235
Latest member
adhollan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top