I typically consider myself a super-user for excel-vba related things. However, this one has me stumped.
I have a line of code returning 'runtime-9, subscript out of range', but it appears that the subscript is not out of range.
When the following code is evaluated, it returns the subscript error.
Range(Cells(RowArray(j, 0), coLs(colSetNum, i)), Cells(RowArray(j, 1), coLs(colSetNum, i))).Select
Where RowArray(j,0)=2, colSetNum=0, i=0, and RowArray(j,1)=6. (all values from the mouse-over text).
I checked the locals window, and coLs(0)(0)=2, so it shouldn't be returning this error.
Any suggestions?
coLsan array of arrays or is it a two dimensional array, you show it both ways. Maybe you should usecoLs(colSetNum)(i).Select. It slows down the code.