It can't be done if the user hasn't hit enter, however naturally when a
user hits enter the cursor usually moves down one row, if you only want
to allow a 4 digit number then use DATAVALIDATIONTEXT LENGTHEQUAL
TO4
--
The Code Cage Team
Regards,
The Code Cage Team
'The Code Cage' (
http://www.thecodecage.com)
------------------------------------------------------------------------
The Code Cage Team's Profile:
http://www.thecodecage.com/forumz/member.php?userid=2
View this thread:
http://www.thecodecage.com/forumz/sh...ad.php?t=37890