Asformula receiving #VALUE! error when column is blank
Posted: Mon Jun 05, 2017 2:10 am
Hi,
I am receiving an #Value response to a formula when one of the cells is blank.
Book.Sheets[0].asformula[1,1] := 'D1+E1';
sRatePrice := Book.Sheets[0].Calculate(1, i);
When either D1 or E1 is blank I get the error via sRatePrice, if both are valid numerics then the formula calculates as expected.
Thanks
Allan
I am receiving an #Value response to a formula when one of the cells is blank.
Book.Sheets[0].asformula[1,1] := 'D1+E1';
sRatePrice := Book.Sheets[0].Calculate(1, i);
When either D1 or E1 is blank I get the error via sRatePrice, if both are valid numerics then the formula calculates as expected.
Thanks
Allan