Paul again my fault.
Your correct.
If ((strValue <0) and (strValue >255)) Then
I kow it is not correct in code but did not know how to describe it in code .
So in words what I tried to accomplish:
If the value inside strValue is not a chrachter from 0 to 255 and nothing else like comma, letters or other charchaters then.........
Paco