ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Close file without Save Changes dialog box (https://www.excelbanter.com/excel-programming/280458-close-file-without-save-changes-dialog-box.html)

flumpf

Close file without Save Changes dialog box
 
How to set up as macro...? Thanks

Tom Ogilvy

Close file without Save Changes dialog box
 
ActiveWorkbook.Close SaveChanges:=True ' or False


--
Regards,
Tom Ogilvy


flumpf wrote in message
...
How to set up as macro...? Thanks





All times are GMT +1. The time now is 09:18 AM.

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