Dear experts,
I have a commandbutton, which if clicked quit excel.
but you see if there was another workbook open at that time, and i had done some work on it, and didn't save it yet, excel doesn't quit application and it says; do you want to Save changes for the other document, if users press cancel, the application doesn't quit?
Thank you for your help.
I have a commandbutton, which if clicked quit excel.
Code:
Application.Quit
but you see if there was another workbook open at that time, and i had done some work on it, and didn't save it yet, excel doesn't quit application and it says; do you want to Save changes for the other document, if users press cancel, the application doesn't quit?
Thank you for your help.