I want to test a condition and if its true then i want to store that index for which it is true in an array. But the array isn't taking up values. My code:
Dim yridx(50, 2) As Integer
For i = X To 1 Step -1
If (Year(Range("A" & i).Value) <> Year(Range("A" & j).Value)) Then...