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
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
will tell (lie to) the machine that it has been saved, so it won't ask you.![]()
ThisWorkbook.Saved = True
Hi There,
Always glad to try and help a fellow Aussie!!
The following code should do the trick:
HTH![]()
Sub Auto_Close ActiveWorkbook.Close SaveChanges:=False End Sub
Robert
Thank you both very much!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks