I am new to programming. When does the program execute the Form_Unload? I have put lines of code in the Form_Unload and is not executing them when the program ends (using "End"). Thanks