I am creating a diologue box by creating a UserForm. The UserForm
automatically has a close button (X). I want to be able to change the value
of a cell in the worksheet if that button is pushed. The problem is I can't
seem to find where to write the code, everything I have tried has not worked.


Please Help