Hello!

Is there a piece of code that I can use that will stop the following warning message from appearing when I hit the X button?

"Do you want to save the changes you made to 'Name of File.xls'?

Thank you