write array to range
Hi Muster,
Try:
Range("B2").Resize(UBound(NPV) - LBound(NPV) + 1).Value _
= Application.Transpose(NPV)
---
Regards,
Norman
"muster" wrote in message
oups.com...
Hi all,
I'm picking up Excel VBA again and have some trouble with this:
Range("b2", "b501") = NPV,
where NPV is an array and it looks OK, but the output is all the same,
500 of the first element, what's wrong?
Thank you.
|