I would like to ask still on this problem. I am not too familiar with the
visual basic and don't seem to get this code working. I did set the reference
to excel. Then I did a new module and copied the code there. On Access query
I chose this function and gave a field name where the function would get the
values from. And it doens't work... I also tried to change the code a bit and
changed the end to 'end function'. I received run time error 1004, couldn't
use the class worksheet function IRR.
Obviously I am doing something wrong. But what??
Help is appreciated,
Jari
"Arvin Meyer" kirjoitti: