#include Global $oExcel = _Excel_Open() MsgBox(0, "", "Excel Open: " & @error) Global $sFilePath = "test1.xls" _Excel_BookOpen($oExcel, $sFilePath) MsgBox(0, "", "Book Open: " & @error) Send("Writing this will cause it to fail to close!!") ; Comment it out and it works fine _Excel_Close($oExcel, False, True); MsgBox(0, "", "Excel Close " & @error) Exit