View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Novice Lee Novice Lee is offline
external usenet poster
 
Posts: 36
Default closing file without saving

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