Jaymond Flurrie
Well-known Member
- Joined
- Sep 22, 2008
- Messages
- 921
- Office Version
- 365
- Platform
- Windows
When I pull out data as an ADODB recordset, it's transposed to have fields in rows and records as columns. When we speak about small amount of data (like dozens times dozens), there's no problem, just use something like
where the key naturally is WorksheetFunction.Transpose.
But since I have 50 x 100 000 = 5 million elements, WorksheetFunction.Transpose falls short.
Plain and simply: What can I do?
Code:
'Check to make sure we received data
If Not rsData.EOF Then
vFromMySQL = WorksheetFunction.Transpose(rsData.GetRows(rsData.RecordCount))
End If
But since I have 50 x 100 000 = 5 million elements, WorksheetFunction.Transpose falls short.
Plain and simply: What can I do?