Hey all,
I'm trying to set a cell of an array of booleans to true. But it gives me the subscript out or range error.
Is the code I'm trying to use to get the cell change to true.VB Code:
PassArr(lstFile.ListIndex) = True (lstfile.listIndex = 0 - 43)
and in the form load section I put this
VB Code:
ReDim Preserve PassArr(lstFile.ListCount) (lstFile = 43)
So I'm not sure why it gives me this error. What is the problem?




Reply With Quote