I have a vector of values and a range that is the same size as the vector. I want to paste the values of this vector into the range in one shot WITHOUT using a for loop.
If v is the vector, r is the range, and i is the counter variable, I am trying to avoid this:
For i = 1 To UBound(v)
r(i).Value = v(i)
Next i
I'm looking for something like:
r.value = v
but of course this doesn't work
If v is the vector, r is the range, and i is the counter variable, I am trying to avoid this:
For i = 1 To UBound(v)
r(i).Value = v(i)
Next i
I'm looking for something like:
r.value = v
but of course this doesn't work
Last edited: