Thank you for your answer. Could you tell me exactly where to put the Exit Sub ? Directly in the code, right?