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.


A
B
C
D
1
Name
Make
Price
2
[enter name]
<strike></strike>
<strike></strike>[enter make]
[enter price
[Command button: "ADD"]

<tbody>
</tbody>


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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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,214,632
Messages
6,120,655
Members
448,975
Latest member
sweeberry

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