Tom Neville
New Member
- Joined
- Aug 5, 2011
- Messages
- 2
Is there a way to specify a "range" of "cells" in a VBA array that allows the following actions:
I am working with large 2D arrays. I would like to assign part of the array to a Range and assign a Range to part of an array. For a simple example, I would like to select a row "record" from the data in a 2D array and assign it to a Range as a row "record" on a worksheet. Alternatively, I would like repeatedly to select a Range that is a row "record" on a worksheet and assign it to the next "row" in a large array.
I have not been able find documentation that shows how to specify a "range" in an array, other than cell by cell - MyArray(i,j)=Cells(k,l).
Thanks
I am working with large 2D arrays. I would like to assign part of the array to a Range and assign a Range to part of an array. For a simple example, I would like to select a row "record" from the data in a 2D array and assign it to a Range as a row "record" on a worksheet. Alternatively, I would like repeatedly to select a Range that is a row "record" on a worksheet and assign it to the next "row" in a large array.
I have not been able find documentation that shows how to specify a "range" in an array, other than cell by cell - MyArray(i,j)=Cells(k,l).
Thanks