: If Right(iGroupNum, 2) = "01" Or "02" ThenYou probably need this. "02" by itself willalways test true. I didn't check for other errors.If Right(iGroupNum, 2) = "01" Or Right(iGroupNum, 2) = "02" Then