DJWoodgate #1 The problem might be you do not bail out of your For loop if not OK. Try OK=False : Exit