View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default 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.