View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Darrin Henshaw Darrin Henshaw is offline
external usenet poster
 
Posts: 38
Default Close Excel file without prompting user to save

Set Application.DisplayAlerts to False, to not show the save changes
dialog box. However, that will stop Excel from prompting it, but still
give the user the ability to save it. You might want to look at the
BeforeSave event, to try to stop them from saving.




*** Sent via Developersdex http://www.developersdex.com ***