I'm confused by this legacy code anyhow, but I thought I had it figured out until I had to add a second dimension to my array.
Basically, I have the following code:
Dim column(1 To 50, 1 To 50) As colClass ' array of class object, to hold raw data
colCount = colCount + 1
Set column(colCount, intDayCount) = New colClass
intDayCount is set outside of the loop and works fine when intDayCount = 1, but when intDayCount = 2, I get an "Object variable or with block variable not set".
Any ideas? Previously this was a one dimensional array, is it possible to have a two dimensional array in this instance?