I''m not sure about the relevence of your sample.
What I''m looking at is a spreadsheet read in as a template which contains cells with formulas like the one I quoted above which give an error message after CalculateAdd has been executed.
I''ve had a look at the source code for ComputeRight and there is no GetValueFromArg for arguement s2. I added this and it now works when the arguement is a number and a range which is what Excel does.
My point is how many more of the build in functions contain this error?
>Hi Brian,
>Please try this sample:
>
Right_func.zip
>
>Best Regards,
>Jeba