I am using php excel codeplex, I populate the cell as follows:
$objWorksheet->setCellValue('B12', "='Other sheet'!D38");
I successfully save the file when I open it, there is a formula there, but it does not display the calculated value. If I copy and paste the formula into another cell, it works fine, so this is not a problem with the formula syntax. How to force a formula to execute it before saving? I tried:
\PHPExcel_Calculation::getInstance($objPHPExcel)->disableCalculationCache();
\PHPExcel_Calculation::getInstance($objPHPExcel)->clearCalculationCache();
Without success ...
Lucia source
share