How do I add command button to tab order on a worksheet?

Charlie4

New Member
Joined
Nov 22, 2017
Messages
9
Hi All
I'm using cells in a worksheet for data entry (rather than a user form). User enters Name, Make and Price then clicks a command button ("ADD") to add the data to separate worksheet.

It would be much quicker if the user could just use Tab key to highlight the command button (then Enter key to "click" it) rather than using the mouse each time.


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Name
[/TD]
[TD]Make
[/TD]
[TD]Price[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]
[enter name]
<strike></strike>
[/TD]
[TD]<strike></strike>[enter make]
[/TD]
[TD][enter price
[/TD]
[TD][Command button: "ADD"]
[/TD]
[/TR]
</tbody>[/TABLE]


Is there a way/code to do this/add it to the tab order?

(i.e. tab order goes cell A2 > cell B2 > cell C2 > command button "ADD")

This would be hugely appreciated...

C.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Why not use worksheet protection.

If if you make all cells locked less those you want the user to select and the command button, and then protect the sheet only allowing them to select unlocked cells, you should achieve your desired result.

HTH

Coops
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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
Back
Top