As davies pointed out, without your Excel file, others won't be able to test your script. However, I took a quick look into the OLE browser. You might want to try Value2 to see if that is returning what you want.
Based on your follow on post, it looks like cell A5 is the cell that has the special function. To try my suggestion, just change:
$values[2] = $sheet -> Range("A5")->{Value};to be:
$values[2] = $sheet -> Range("A5")->{Value2};Not claiming that this will "fix" the problem. Just tossing out an idea to try out.
In reply to Re: Excel OLE cell value custome pre-defined predefined function formula error
by dasgar
in thread Excel OLE cell value custome pre-defined predefined function formula error
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |