>Thanks Ed, but I forgot to say I'm in a Excel Worksheet and on a Cell put something like in Cell A1=FunctionX(Param1,Param2,Param3).
>
>This will call the FunctionX and return the value to the cell A1.
Why not just write the function in VBA and have at it. Excel directly supports VBA.