C reading a bit like writing for only open at the beginning ...
But try to access data are the same.
$ excel = new COM ( "Excel.Application"); / / Open connection to Excel
$ workbook = $ excel-> Workbooks-> Open ($ filename);
/ / Name of the file to open: absolute
/ / I selected to read the paper (the numbering starts leaves 1
$ sheet = $ workbook-> Worsheets ($ no_feuille);
/ / To read a cell eg A1 ...
/ / I select:
$ cell = $ sheet-> Range ( "A1");
/ / I do its contents:
echo $ cell-> value;
/ / I close the document
/ / If Excel is the head because it did not saved
/ / $ File-> save ();
$ workbook-> close ();
/ / I close excel
$ excel-> Workbooks-> close ();
$ excel-> Quit ();
/ / And we do unset all variables that controls
Bookmarks