This example correlates cell B5 with F12, with a correlation coefficient of 0.2.
Range("B5:F12").Select CB.CorrelateND 0.2