Reputation: 865
I am using phpexcel to open excel file. I am having a problem with it.
This is my excel 's file
We can see in it: cell H4 have function VLOOKUP, but it have link to another sheet. But at now link to C:... is wrong, and I want to get number 37512 (that is cache data because we can't recalculate that function now.). I tried to use with getCalculatedValue, but that function recalculate. How can I can get it?
Upvotes: 1
Views: 159
Reputation: 1
Old post I know - the OP is asking to read Excel's cached data when a workbook link exists to a non-accessible file. PHPExcel attempts and to calculate the formula and fails.
Answer is to use the method: getOldCalculatedValue()
.
Example:
$objWorksheet->getCell('A1')->getOldCalculatedValue()
Upvotes: 0