Processe Excel remains active in Task Manager

Osmar Morais

New Member
I wrote an application to populate a Excel spreadsheet and formatting them with Pivotable resource. It works (creates and save the workbooks correctly) but the Excel process remains active in Windows Task Manager. Bellow follows a extract of the Progress application:

DEFINE VARIABLE ChExcelApplic AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE ChWorkBook AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE ChWorkSheet AS COM-HANDLE NO-UNDO.
/*
Body of Program
*/

RELEASE OBJECT ChWorkSheet.
RELEASE OBJECT ChWorkBook.
chExcelApplic:QUIT().
RELEASE OBJECT chExcelApplic.

Any idea?
 
Top