If ((strValue <0) and (>255)) Then
Something is missing here, and something is wrong. If the missing piece is strValue in the parentheses after the and, then the statement would be:
If ((strValue <0) and (strValue >255)) Then
There are not two many values that are less than 0 and greater than 255 at the same time.