Make sure calculation is set to automatic.
tools|options|calculation tab
And make sure you put the values in A1 and B1 and your function uses
=area(a1,b1).
(I'm suspecting that you didn't put the values in A1 and B1.)
Thanks dave BUT I have (or had) done everything that you mentioned and it did
not work correctly for me; like put the values in A1 and B1, the calculation
is set to auto, and the function is =area(a1,b1), I even started over. I
also put that formula in c1 and the result I was given was 0. try it the
exact way I did and see if you get the same results (to show I am not loosing
it entirely).
Does capitalization matter?
Thanks for the response, Dave and let me know the results.
> Make sure calculation is set to automatic.
> tools|options|calculation tab
[quoted text clipped - 38 lines]
> > > >
> > > > Dan
Gord Dibben - 27 Jun 2006 19:41 GMT
I tested your UDF and followed your steps as below.
C1 returns 170 or any other value depending upon A1 and B1 values.
Capitalization does not matter.
=Area(a1,b1) is good as well as =area(a1,b1)
Gord Dibben MS Excel MVP
>Thanks dave BUT I have (or had) done everything that you mentioned and it did
>not work correctly for me; like put the values in A1 and B1, the calculation
[quoted text clipped - 47 lines]
>> > > >
>> > > > Dan
Dave Peterson - 27 Jun 2006 20:28 GMT
The only way I got 0 is if one of the cells (or both) I pointed at was 0.
Everytime I used it, it worked fine.
> Thanks dave BUT I have (or had) done everything that you mentioned and it did
> not work correctly for me; like put the values in A1 and B1, the calculation
[quoted text clipped - 51 lines]
> >
> > Dave Peterson

Signature
Dave Peterson