Question

Normally in excel you can give a specific name to the cells. How can this be done in phpexcel?

Was it helpful?

Solution

Section 4.6.38 of the Developer documentation describes how to do this: the section entitled "Define a named range"

$objPHPExcel->addNamedRange(
    new PHPExcel_NamedRange('PersonFN', $objPHPExcel->getActiveSheet(), 'B1') 
);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top