Data Validation with leading zero.
Posted by Marc on October 18, 2001 10:59 AM
I have created a request form on a worksheet that collects data. I want to validate that a field(cell) is 3 numbers always. I have set up the data validation to read "text length" "equal to" "3". It works fine when there are no leading zero's, but when a number such as 027 is entered it will not recognize the zero. I know I'm close and I'm sure a macro could do it. I just thought that there is something I'm missing with the data validation. Thanks, Marc