Re: How to Declare an Array of Arrays in VB6

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



<benn686@xxxxxxxxxxx> wrote in message news:66a479aa-a782-4c50-8ee8-2de0f387da38@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks! I went with the Variant solution because as it turns out,
if I ever wanted to add another decade, i.e, ReDim Preserve
TestScoresDecade(1 to 20, 1 to 50), this wouldnt work. ReDim only
works if you re-dimension the second index, not the first.

You can always reverse it
Redim Preserve TestScoresDecade(1 to 50, 1 To 20)


.