Look here:
// starting Excel
$excel = new COM("Excel.application") or die("Unable to instanciate Excel!");
print "Loaded Excel, version {$excel->Version}\n";
//bring it to front
$excel->Visible = 1;
//open document
$wb=$excel->Workbooks->open('mytable.xls');
//do something
$cellA1=$wb->cells(1,1)->value;
print "Cell \"A1\" has a value $cellA1\nThank you. \n Closing..";
//closing Excel
$excel->Quit();
//free the object
$excel->Release();
$excel = null;
With best regards,
Serge Bulanov
AlarIT Web developer,
www.AlarIT.com