Error in isInRange function

Topics: Developer Forum
Dec 1, 2010 at 7:17 AM


I found an error in isInRange function at PHPExcel_Cell class.

The function does not correctly determine index of the column, which is tested.

        $myColumn    = PHPExcel_Cell::columnIndexFromString($this->getColumn()) - 1;   (line 464)

        must be replaced to

        $myColumn    = PHPExcel_Cell::columnIndexFromString($this->getColumn());

Dec 1, 2010 at 10:29 PM

Thanks, will check on this and fix as necessary