in reply to Excel OLE cell value custome pre-defined predefined function formula error
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Excel OLE cell value custome pre-defined predefined function formula error
by davies (Monsignor) on Feb 06, 2011 at 00:30 UTC |