Oct 5, 2006 #1 meagain MIS Nov 27, 2001 112 CA Hello Everyone, I need the syntax to place in an Excel macro to exit the program without saving. If anyone can provide me with this, it would be greatly appreciated. Thanks a lot
Hello Everyone, I need the syntax to place in an Excel macro to exit the program without saving. If anyone can provide me with this, it would be greatly appreciated. Thanks a lot
Oct 5, 2006 #2 Loomah Technical User Mar 4, 2002 1,911 IE Hi this will do the job but I don't really recommend it Code: With Application .DisplayAlerts = False .Quit End With ;-) If a man says something and there are no women there to hear him, is he still wrong? How do I get the best answers? Upvote 0 Downvote
Hi this will do the job but I don't really recommend it Code: With Application .DisplayAlerts = False .Quit End With ;-) If a man says something and there are no women there to hear him, is he still wrong? How do I get the best answers?
Oct 5, 2006 #3 kodr Programmer Dec 4, 2003 368 Code: application.displayalerts = false application.quit Upvote 0 Downvote
Oct 11, 2006 Thread starter #4 meagain MIS Nov 27, 2001 112 CA Thank you!! I copied kodr's code to my macro and it works like a charm. Upvote 0 Downvote