![]() |
closing file without saving
workbooks("masterdata - 2009.xls").close savechanges:=false
Novice Lee wrote: How can I close a file without saving the file automatically. I use the following code for closing the file: Windows("MasterData - 2009.XLS").Activate ActiveWindow.Close is any thing I can add to it or change so I don't get the "Do you want to say" box? I never want to save the file. Thanks -- Dave Peterson |
All times are GMT +1. The time now is 12:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com