Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21914

ReDim Array and get Subscript Out of Range problem

$
0
0
Public Type ColorArray
ColorTable() As Long
End Type



Dim MyColorArray() As ColorArray


Then in code


ReDim MyColorArray(1).ColorTable(256)

For this I get Index out of Range error

Viewing all articles
Browse latest Browse all 21914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>