|
Anthony's VBA Forum Where the knowledge is shared |
|
|
View previous topic :: View next topic |
Author |
Message |
totr1
Joined: 20 Aug 2008 Posts: 4
|
Posted: Tue Feb 17, 2009 7:56 am Post subject: Reading of large data quantities into arrays |
|
|
Hello,
Arrays are versatile, like making graphs, statistics etc.
VBA can read 50,000 rows within a couple of seconds, like using User-defined data types. However, I am not able to transpose these to usable arrays (two-dimensional). I have imported 5 variables (columns): The Date, Analysis (lead, iron, ..), Instrument (instrument 1, instrument 2, ..), Control (high, low), and finally the value (10, 200, ..). One of the arrays could be "Iron_ Instrument1_High" having several thousand values/readings.
How can I produce usable arrays, maybe sortet on array-name, within seconds (probably without using User-defined data types)? -> i.e. "unstacking of variables".
Possible?
(Some VBA-functions are extremely fast, like "Counting Sort", but not "Bubble Sort")?
Kind regards
thor |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|