View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Lucy[_2_] Lucy[_2_] is offline
external usenet poster
 
Posts: 7
Default Close Open Woorkbook and Quit Excel

Thanks, but what starts this sub at 11 PM?

Lucy

-----Original Message-----
You will want a function like this, to run on the ontime.

Sub QuitApp()

Application.setwarnings false
ThisWorkbook.Save ''Might need to change if you have

multiple WBs
open
Application.quit

End Sub


Keith
www.kjtfs.com


---
Message posted from http://www.ExcelForum.com/

.