golf data validation

caseyg

New Member
Joined
Mar 21, 2011
Messages
5
I'm attempting to enter golf hole scores (range from 1 to 15) and would like a method to have the active cell to move one to the right for each valid entry.
So, if I enter 2 through 9 the cell to the right is activated, zero is ignored as the first entry, and two digit entries starting with 1 (10 to 15) also activate the cell to the right. 1 (a hole-in-one) would be a special case requiring a manual tab.
I'm guessing vba is the way to go but have no idea where to start.
:confused:
Thanks
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi, welcome to the board.

There are two things you can do here.

First of all, use Data Validation to limit entries to the ones you want, such as 1-15, or whatever.

Second, on the Tools, Options, Edit tab, tick the box for Move after Selection, and specify RIGHT as the direction.

What may also help with this is using protection.
By default, all cells on the worksheet are locked, but this has no effect until you turn protection on.
So, use Format, Cells, Protection, to UNLOCK the cells where you input the scores, and then turn on workSHEET protection, and UNtick the box to "Select unlocked cells".
This will make the cursor jump from one unlocked cell to the next.
For example, if you have a 3x3 table for inputting data in the range A1:C3, when you get to A3 and press enter, the cursor will jump to B1.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,629
Members
452,933
Latest member
patv

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