Many thanks for your help. Could you please explain me how to add HasValidation code to the module? I am not an expert on VBA.