Greetings,
I am receiving the error "Unable to get the Pearson Property of the WorksheetFunction Class" Runtime Error on the line below.
Arg1 and Arg2 are both Range variables. J, and i are integer variables.
I would like the value of Cells(j,i) to be the value of the Pearson WorksheetFunction.
Thanks!
I am receiving the error "Unable to get the Pearson Property of the WorksheetFunction Class" Runtime Error on the line below.
Arg1 and Arg2 are both Range variables. J, and i are integer variables.
I would like the value of Cells(j,i) to be the value of the Pearson WorksheetFunction.
Code:
Workbooks("Matrix.xls").Worksheets("Paper2").Cells(J, i) = Application.WorksheetFunction.Pearson(arg1, arg2)
Thanks!