I am sorry,
You are right it is not that well formulated. What i mean is that i want to calculate the correlation over variables that i have got in vba. I don't know what i have to do to come to an correlation.
This is what i have so far
Range("g7").Select
Range(Selection, Selection.End(xlDown)).Select
totalrows = ActiveSheet.UsedRange.Rows.Count - 1
Dim Tict() As String
ReDim Tict(totalrows)
Range("g7").Select
i = 0
Do While i <= totalrows
Tict(i) = ActiveCell.Value
ActiveCell.Offset(1, 0).Select
i = i + 1
Loop
arraySecurities = Tict
End Sub
And i don't know how to come to a correlation when i look to vtresult.
Thanks