ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   AUTO TAB BETWEEN CELLS (https://www.excelbanter.com/excel-discussion-misc-queries/204140-auto-tab-between-cells.html)

Tom T[_2_]

AUTO TAB BETWEEN CELLS
 
I have a spreadsheet that I have three cells that I have limited the
number of characters/numbers that can be put in each cellt hrough
vailadation. Is there a way that when a person inputs the required
characters/numbers that the tab will go to the next cell? I have looked at
another question similiar to mine but that code does not work.

IanC[_2_]

AUTO TAB BETWEEN CELLS
 
If you unlock those three cells (Format Cells Protection tab, untick
Locked) then protect the worksheet (Tools Protection Protect Sheet),
then the tab button will cycle through those 3 cells.

A possible drawback with this is that the user will ONLY be able to enter
data in those 3 cells. On the other hand this could be an advantage :-)

--
Ian
--
"Tom T" wrote in message
...
I have a spreadsheet that I have three cells that I have limited the
number of characters/numbers that can be put in each cellt hrough
vailadation. Is there a way that when a person inputs the required
characters/numbers that the tab will go to the next cell? I have looked at
another question similiar to mine but that code does not work.




Gord Dibben

AUTO TAB BETWEEN CELLS
 
If you want Excel to move to next cell when a number a characters have been
typed, it won't happen.

Validation kicks in after you have hit the ENTER, Tab or arrow key to move
out of the cell.

Excel doesn't know when you have finished editing a cell until you tell it.


Gord Dibben MS Excel MVP


On Fri, 26 Sep 2008 12:54:01 -0700, Tom T
wrote:

I have a spreadsheet that I have three cells that I have limited the
number of characters/numbers that can be put in each cellt hrough
vailadation. Is there a way that when a person inputs the required
characters/numbers that the tab will go to the next cell? I have looked at
another question similiar to mine but that code does not work.



Tom T[_2_]

AUTO TAB BETWEEN CELLS
 
ok. If validatio is not the way to do it. Is there code that will restrict
number of charcters/numbers and auto tab once input te correct
charcters/numbers ?

"Gord Dibben" wrote:

If you want Excel to move to next cell when a number a characters have been
typed, it won't happen.

Validation kicks in after you have hit the ENTER, Tab or arrow key to move
out of the cell.

Excel doesn't know when you have finished editing a cell until you tell it.


Gord Dibben MS Excel MVP


On Fri, 26 Sep 2008 12:54:01 -0700, Tom T
wrote:

I have a spreadsheet that I have three cells that I have limited the
number of characters/numbers that can be put in each cellt hrough
vailadation. Is there a way that when a person inputs the required
characters/numbers that the tab will go to the next cell? I have looked at
another question similiar to mine but that code does not work.




Gord Dibben

AUTO TAB BETWEEN CELLS
 
VBA code will not run while you are in Edit Mode.

You can have event code that counts the number of characters in a cell after
you have hit Enter key.

If number of characters is greater than your desired set point, the contents
will be truncated.

Do you want that?

Maybe you could post the code that "doesn't work".


Gord

On Thu, 2 Oct 2008 06:44:04 -0700, Tom T
wrote:

ok. If validatio is not the way to do it. Is there code that will restrict
number of charcters/numbers and auto tab once input te correct
charcters/numbers ?

"Gord Dibben" wrote:

If you want Excel to move to next cell when a number a characters have been
typed, it won't happen.

Validation kicks in after you have hit the ENTER, Tab or arrow key to move
out of the cell.

Excel doesn't know when you have finished editing a cell until you tell it.


Gord Dibben MS Excel MVP


On Fri, 26 Sep 2008 12:54:01 -0700, Tom T
wrote:

I have a spreadsheet that I have three cells that I have limited the
number of characters/numbers that can be put in each cellt hrough
vailadation. Is there a way that when a person inputs the required
characters/numbers that the tab will go to the next cell? I have looked at
another question similiar to mine but that code does not work.






All times are GMT +1. The time now is 08:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com