I am writing code that looks at entered employee numbers, but what i need to do is make sure there are 5 numbers in the variable (Number) i.e 12160. i tried using the
Code
If Len(Number) <> 5 Then
But all i get is 2 because number is defined as an integer.