I've created a save function that checks to see if changes have been made when you select exit from the menu. My only problem is that I'm really new to VB and I'm not sure how to use this function with the toolbar close (X) as well. If anyone could help me out I'd appreciate it. Thanks for your time.