Format the range as Text. If the range isn't formatted as text, it won't work properly.
In the Data Validation dialog box, choose Custom and use this forumla. It covers both conditions (text length and numeric digits only).
Replace A1 with the address of the first cell in the range.
=AND(ISNUMBER(A1*1),LEN(A1)=3)
|