Hi all how can I have it when someone clicks on the X button of any userform it loads up the userform"main" Thanks in advance Greg