Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA arrays
I'm trying to get my head around lists (arrays?) in VBA. Lets say I want to create an array of random numbers whose length is defined by the user. Is this the right idea? 1 - It would ask the user how long the array should be. 2 - Then starting with an empty array, it would run through a for loop as many times as defined by the user, each time appending a new random number to the end. I can't seem to figure out the right way to use arrays in VBA. Is array(a, b, c) the best way to create them? How then do you add another number to it? Or access the nth value in the array? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Arrays | Excel Worksheet Functions | |||
Regarding Arrays | Excel Discussion (Misc queries) | |||
Regarding the Arrays | Excel Discussion (Misc queries) | |||
Arrays | Excel Discussion (Misc queries) | |||
Need help with arrays (I think) | Excel Worksheet Functions |