' Only allow numeric values if ((47 < KEY) AND (KEY < 58)) then ' Numeric value entered else KEY = 0 end if