I saw array() = range().value in an example and I\'m trying to understand how it works.
array() = range().value
Sub test() Dim arr() As Variant arr() = Range(\"E5:E7\
It's basically loading the cell values of E5 - E7 into an array. But it is going to be two dimensional. So you will need Debug.Print arr(i, 1)
Sub test() Dim arr() As Variant arr() = Range("E5:E7").Value For i = 1 To UBound(arr) Debug.Print arr(i, 1) Next i End Sub