Sorry snb, but what has your solution got to do with Select Case vs Switch?