It won't work the way you have it set up...
Unfortunately, I do not believe it is possible to delare an array using a variable to set the size. It's just something VB (or any other programming language to my knowledge) dosen't allow. You either use constants, which cannot be changed, or you use actual numbers. From what I see, you seem to be trying to create a dynamic array - one that will take on a different size according to the situation. If this is the case, I strongly suggest you take a look at collections. You say you are a newbie (which is fine - we were all there once :) ) so I don't know if you feel ready to work with objects yet, but that would definitely be the way I would do it. A collection is a dynamic array of objects, and is much more powerful (IMHO) than a standard Dimmed array.
Hope this helps!
JFDman