This example correlates cell B12 with F5, with a correlation coefficient of 0.6.
Range("F5:B12").Select Range("B12").Activate CB.CorrelateND 0.6