ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Closing the save changes box (https://www.excelbanter.com/excel-programming/287359-re-closing-save-changes-box.html)

John Wilson

Closing the save changes box
 
CrazySultana,

Try
Application.DisplayAlerts = False
just before the "save" in your code.

John

"CrazySultana" wrote in message
...
Hello :)

I have written a macro that opens up a file (1), changes a few things and

copies the data to an already open file.
The macro then proceeds to close file 1, and the save changes dialogue box

pops up. How can I make my code automatically select no or prevent that box
from popping up?

Thanks for any help







All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com