View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
AA2e72E AA2e72E is offline
external usenet poster
 
Posts: 400
Default how to stop a hidden session from Excel

If, say, xl is your instance of Excel, you need to

xl.Quit

If you have open and unsaved workbooks, save the workbook first or if you do
not want to save it, set

xl.Axtiveworkbook.Saved = True