tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,913
- Office Version
- 365
- 2019
- Platform
- Windows
Normally when I use arrays, this can simply be returned in a single statement, such as:
If I were to use classes and collections to make my code easier to read, as per this article:
I have got to the point where everything has been read into a collection and would like to return the results onto the worksheet.
Do I have to loop through each record to return the values?
Thanks
Rich (BB code):
Cells(1, 1).Resize(MyArrayRows, MyArrayCols).Value= MyArray()
If I were to use classes and collections to make my code easier to read, as per this article:
Rich (BB code):
I have got to the point where everything has been read into a collection and would like to return the results onto the worksheet.
Do I have to loop through each record to return the values?
Thanks
Last edited: