Hey there, I've built a nice little app for a client that will open a COM object, and save data to an Excel spreadsheet. However, I'm having problems closing it. It seems to close fine on my laptop, but on my clients machine, the instance of Excel stays loaded, and multiple instances are loaded every time the script is run.
I've tried several different methods of closing it, that's why this code is a little longer than the examples around... Code: ... $ex->Application->ActiveWorkbook->Close("False"); $wkb->Release(); $ex->Quit(); $ex->Release(); unset($wkb); unset($ex); chris kranz fatcuban.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php