How to Read a Specific Cell Value ?

Topics: Developer Forum, User Forum
Nov 9, 2008 at 11:24 AM
How to read a Specific cell ? The file is loaded but when i

print_r($objPHPExcel);

Lot's of arrays are printed ,

How to Access a Specific Cell , Say [A1]

Any help will be really appreciated .
Regards.
 


Nov 9, 2008 at 11:29 AM
sorry for posting such Stupid Question , got the answer ,

$sheet = $objPHPExcel->getActiveSheet();

$string = $sheet->getCell('F2')->getValue();
var_dump($string);


Regards.