Here is my problem :
I try to close a COM connection, but unfortunatly I can't...
I always have to open the task manager to close it!
$excel = new COM("Excel.application");
#Open the workbook that we want to use.
$wkb = $excel->Application->Workbooks->Open("$filename");
$sheets = $wkb->Worksheets($sheet);
$sheets->Activate;
#Ok We get the Vertical Limit How many Column do we have?
$VLimit = $sheets->VPageBreaks(1);
$vLimit = $VLimit->Location->Column;
#Ok We get the Horizontal Limit How many Row do we have?
$HLimit = $sheets->HPageBreaks(1);
$hLimit = $HLimit->Location->Row;
print "#Column: $vLimit <br>#Row: $hLimit";
Close the EXCEL File!
$excel->Application->ActiveWorkbook->close("False");
$excel->Quit();
$excel->Release();
unset($excel);
exit();
It seems that the part where I call the function to close it is not working, anyone with clues can help me please!?!?!.