hi guys i am totally new to vba , i'm trying to set the value of a cell with one of the function parameters. The code is giving an error 91. the 6th line in the code is raising the error. I'm unable to resolve it , please can anybody help me .hi guys i am totally new to vba , i'm trying to