nort_amgis
New Member
- Joined
- Dec 14, 2016
- Messages
- 9
Hi, I have some working code that I'd like to expand on. Basically I'll have a bunch of individual cell addresses "AB10", "AD10", ... "CZ10", and so on that i'd like to compile some basic statistics on. But when I try to get the values in a way that's easy to work with, like in this example:
Arrays And Ranges In VBA
I get errors left and right and can't really get a solid start on something that should be pretty simple. The size of the array will be variable, so the code will ideally be dynamic. Or if I could just get away with using the application functions, I'd be happy with that since the data is usually only a few hundred lines.
If it's not clear what I'm asking/trying to do, please just point me in the direction of a working examples where the average, min, max, etc are calculated from a range of discontinuous (not contiguous) cells or a 2 dimensional array of data.
Or just post some pseudo code that you're confident will work, really anything helps, thanks
Arrays And Ranges In VBA
I get errors left and right and can't really get a solid start on something that should be pretty simple. The size of the array will be variable, so the code will ideally be dynamic. Or if I could just get away with using the application functions, I'd be happy with that since the data is usually only a few hundred lines.
If it's not clear what I'm asking/trying to do, please just point me in the direction of a working examples where the average, min, max, etc are calculated from a range of discontinuous (not contiguous) cells or a 2 dimensional array of data.
Or just post some pseudo code that you're confident will work, really anything helps, thanks