Validation Upper case not working correctly
I used =IF(ISBLANK(Route),TRUE,AND(LEN(Route)=7,MID(Route,4,1)="-",CODE(UPPER(MID(Route,1,1)))=CODE(MID(Route,1,1)),CODE(UPPER(MID(Route,2,1)))=CODE(MID(Route,2,1)),CODE(UPPER(MID(Route,3,1)))=CODE(MID(Route,3,1)),CODE(UPPER(MID(Route,5,1)))=CODE(MID(Route,5,1)),CODE(UPPER(MID(Route,6,1)))=CODE(MID(Route,6,1)),CODE(UPPER(MID(Route,7,1)))=CODE(MID(Route,7,1))))