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.
 

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

cooper645

Well-known Member
Joined
Nov 16, 2013
Messages
622
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
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
 

Watch MrExcel Video

Forum statistics

Threads
1,123,172
Messages
5,600,128
Members
414,365
Latest member
UUR

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