I would like to fill an array in VBA with the row numbers of only rows which meet a certain criteria. I would like the fastest method possible (for example, something like <
First copy the range to a variant array , then loop over the array
Arr = rngval For I = 1 to ubound(arr) If arr(I,1) = valMatch Then RowArray(x) = I: x = x + 1 Next