Anthony's VBA Forum Index Anthony's VBA Forum
Where the knowledge is shared
Menu
 Anthony's VBA Forum IndexHome Page
 Anthony's VBA Forum IndexForum Index
FAQFAQ
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesMessages
Log inLogin/Out

Quick Search

Advanced Search

Links
Consulting
Products

Who's Online
[ Administrator ]
[ Moderator ]


Reading of large data quantities into arrays

 
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA
View previous topic :: View next topic  
Author Message
totr1



Joined: 20 Aug 2008
Posts: 4

PostPosted: Tue Feb 17, 2009 7:56 am    Post subject: Reading of large data quantities into arrays Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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