Hi All
i am trying to get values into a macro through function procedure but getting run time error 1004 "Application defined or object defined error" below is code i am using:
here LP is the function name. i am using same function procedure as a formula in excel and it works fine. any ideas to solve this issue would be great help
thanks
i am trying to get values into a macro through function procedure but getting run time error 1004 "Application defined or object defined error" below is code i am using:
Code:
Range("K2:K" & lrd).FormulaR1C1 = "=LP(RC[-7])]"
thanks