VB Code:
Dim varPIEQTY() Dim varpiei As Integer For varpiei = 0 To 100 varPIEQTY(varpiei) = 0 Next varpiei
subscript out of range
on
"varPIEQTY(varpiei) = 0"
ideas?
i haven't worked too much with arrays, but im trying to assign the array varPIEQTY(0) all the way to varPIEQTY(100) all = 0
this because i'll be filling in randoms parts in the array, and it seems if i haven't declared varPIEQTY(40) = 0 and i don't have a varPIEQTY(0), i get an errror...




Reply With Quote